Good Afternoon,
I have done a PowerBuilder 2019 R3 migration for a client. I was using the DBMS=SNC SQL Native Client(OLE DB) and everything was working fine. The client decided to move to SQL server 2019. They use a lot of configuration tables for everything, even for DW syntax. Doing some tests after changed the DBMS to MSOLEDBSQL SQL Server
DBMS="MSOLEDBSQL SQL Server"
servername=XXX
Database=XXX
DBParm="PROVIDER='MSOLEDBSQL',Database='TMW_TEST',TrimSpaces=1"
During a retrieve I'm getting the error 999, as below:
Checking the SQL server profiler, I can see the error is coming from the command below:
exec dbo.inbound_view N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'',N'BEES,ES,ESSK',N'',N'',N'',N'',N'',N'UNK',N'UNK',N'UNK',N'UNK',0,N'UNKNOWN',N'UNKNOWN',0,0,14,N'PLN,DSP,STD,CMP',N'',N'ALL',N'',N'',N'',N'',N'',N'UNK',N'UNK',N'UNK',N'UNK',0,N'',N'',0,N'',N'UNK',N'UNK',N'UNK',N'UNK',NULL,N'',N'',N'',NULL,14,14,NULL,NULL,NULL,NULL,NULL,NULL,N'N'
If I copy this command to SSMS, the procedure ran perfectly......... I have used the very same user that is executing the procedure, other procedures DW are working fine......... I'm stuck, I have no idea what to do anymore..........
Someone have any idea or direction ? I'm completely lost at the moment.......
POWERBUILDER VERSION=2019 R3
SQL SERVER VERSION=2019