Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
With same parameters for DB2 connection, it's OK when I use the component tDB2Input but I get an error when I use the component tDB2Output :
com.ibm.db2.jcc.am.SqlSyntaxErrorExceptionB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=idutil.DOC_OBJ, DRIVER=4.17.29
The user has access to insert into database.
I see a precedent post about this subject (https://www.talendforge.org/forum/viewtopic.php?id=2197), that indicates to put into Database field:
context.DB_Database+":currentSchema="+context.DB_Schema
But I get also an error...
Can somebody help me please ?
Thanks
Hi,
I don't think it's a problem of DB2 configuration because we don't get any issues whith the same configuration when we insert datas with another technology (for example C#).
I am on db2 and I'm using IBM DB2 ODBC Driver.
As explained, when i'm using tDB2Input with same configuration, it works fine...
Regards,
Can you show us your config for the component that does work? Also, do you actually have a table called "MyTable" in your database and does your user have access to it?
Hi,
Thanks François.
It's working fine with tDB2row:
I am not a db specialist, so for my information what do you mean with "...to use db charset and nls" ?