I'm trying to run a stored procedure on MS SQL Query Analyzer but continue to get the following error:
Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [IBM][iSeries Access ODBC Driver][DB2 UDB]PWS0005 - Error occurred in the OS/400 database server code.]
OLE DB error trace [OLE/DB Provider 'MSDASQL' ICommandPrepare::Prepare returned 0x80004005: ].
I can successfully run this stored proc on another server running SQL Server. I've checked to see how the iSeries ODBC is configured and it is the same on both machines.
Any clue as to how to fix this will be a great help.
Thanks
Software/Hardware used:
ASKED:
July 20, 2005 4:41 PM
UPDATED:
October 30, 2009 6:23 AM
Note that *ALLOBJ in a profile and QSECOFR should make connections more difficult, not easier, if the remote system has any rational security configuration at all.
Tom