Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC error connecting to AS400 Stored Procedure

Status
Not open for further replies.

DRCI

MIS
May 1, 2003
48
0
0
US
Hello.

I have often connected Crystal Reports to AS400 tables using the Client Access ODBC driver.

But now for the first time I am trying to access an AS400 Stored Procedure. And we keep getting errors (depending how we tweak the Driver settings).

The initial error being:

Database Connector Error:'4200:[IBM][iSeries Access ODBC Driver]Statement violates access rule: Connection is set to read only. [Database Vendor Code:30186]'

We tweaked the ODB driver and now the latest error being:

Database Connector Error:'42501:[IBM][iSeries Access ODBC Driver][DB2 UCB]SQL0601- TEST in KXMLIB type *FILE already exists. [Database Vendor Code:-601]'

TEST is the Stored Procedure name. I suspect its created a table that isn't being dropped when done?

Any insight on these errors, would be appreciated. Thanks!





Regards,

Mark H. Edwards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top