iSeries Access ODBC Driver Error
0 pts.
0
Q:
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
ASKED: Jul 20 2005  4:41 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Jul 21 2005  7:55 PM GMT by snapcomp   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

iseries odbc driver   0 pts.  |   May 21 2008  6:06PM GMT

[...] [...]

 

TomLiotta   7525 pts.  |   Oct 30 2009  6:23AM GMT

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

 
0