on 08-25-2006 5:23 PM
Hi All,
I am sending a File to DB2 iSeries database.
In the JDBC adapter configuration the MESSAGE PROTOCOL I am using is XML SQL FORMAT and
<b><i>UNDER EO the parameters i am using is
Database Table Name:MATTEST
Key Column Name :MATTEST</i></b>
So I am getting the Following error.
Error: Database error accessing key table 'MATTEST': SQLException: [SQL0204] MATTEST in SAPUSER type *FILE not found.
If the EO parameters I used is NONE then not getting any error but not understanding where the message is going.
Can anyone help me out with this scenario.
Thank you,
Joslyn.
Are you using the proper iSeries JDBC driver ? Other DB2 JDBC drivers will not work with an AS/400.
How are you controlling your library list used to find the table ? We put in on the connection string.
DRIVER: com.ibm.as400.access.AS400JDBCDriver
CONNECTION: jdbc:as400://iseries.company.com;naming=sql;errors=full;libraries=datalib
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have two choices for controlling the library list.
You can add 'libraries=xxxxxxlib' to your connection string. I am pretty sure you can specify more than one library here, but you should only need the library that contains your table.
Or you can control the library list of the user-id like you would for any user-id on the system. System value QUSRLIBL, or an initial program for the user that chages library list.
Hi ,
<i>Database Table Name:MATTEST
Key Column Name :MATTEST</i>
Are the Database table name and key column name are same?
Just check the Names..
Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.