0 pts.
 iSeries Access ODBC Driver Error
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

Answer Wiki:
Installing the latest iSeries Access Fix Pack helps. Also, make sure that all required TCP/IP ports are enabled in your network. Security may have you locked out. Use *AllOBJ authority in you profile or login using the QSECOFR profile. Hope this helps......... RB
Last Wiki Answer Submitted:  July 21, 2005  7:55 pm  by  Snapcomp   0 pts.
All Answer Wiki Contributors:  Snapcomp   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 107,845 pts.