on 03-24-2006 2:36 PM
Hi all,
I want to insert data into a DB2 table on AS400 via a Receiver JDBC adapter.
The communication channel seems to be ok but when I try to send the message, I obtain the following message on the adapter monitoring :
Error: TransformException error in xml processor class, rollback:
Error processing request in sax parser: Error when executing statement for table/stored proc. 'GIK.GDT01' (structure 'Statement'): java.sql.SQLException: La table GDT01 de la bibliothèque GIK est incorrecte pour cette opération.
Could someone help me?
In the communication channel I have seen we can choose "native SQL String" as message protocol.
Do you think it could be a workaround for me? if yes, could someone send me an example about it?
thanks a lot,
Philippe
Hi,
Try to remove GIK.GDT01 in table tag of your XML structure and put GDT01 alone and see.
The solution to your problem is found on this particular link.
http://www.websina.com/bugzero/faq/exception-as400.html
Tell me if it works
Best regards,
Felix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem is solved. The reason is not the name of the table in the XML tag, but it is because of the tables that have to be journaled in the AS400 environment(and it is not done by default when you create a table in DB2). Without it, there is a problem about the commit/rollback during the Insert action.
Thanks all for your help,
Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
I have verified and it is not one of these reasons.
Does someone know some log files on the XI server that could give more information about this error?
regards,
Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phillip,
could be some reasons, as
-user rights for insert
-your mistake in wrinting fieldnames (upper task),
-length of fields in database table
-key already in table
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The message is :
"The table GDT01 of the library GIK is not correct for this statement"
But when I try to execute a similar sql statement on this table (via a little java program) it works fine.
philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
While debugging you JDBC adapter, it always is useful to see the error in the RunTIme workbech, but, unfortunately, I dont know German, can you please translate the error message into ENglish
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.