Error when we tried to insert records into DB2 i Series

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

Error when we tried to insert records into DB2 i Series

Post by satheesh_color »

Hi All,

When we try to insert the records into the DB2 I series tables we got the below error messages:

CIP_SKU_Price,0: [IIS-CONN-ODBC-000004] ODBC function "SQLExecute" reported: SQLSTATE = HY000: Native Error Code = -7008: Msg = [IBM(DataDirect OEM)][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]OUSKUPRICE in ENTERPRISE not valid for operation. 3 (CC_OdbcDBStatement::executeInsert, file CC_OdbcDBStatement.cpp, line 559)


Please let me know your suggestions.


Thanks,
Satheesh
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

1. Have you tried your SQL query directly in DB2 from the command line?
2. Check http://publib.boulder.ibm.com/infocente ... /n7008.htm
Bongo51
Participant
Posts: 25
Joined: Fri Jun 25, 2010 7:41 am

Post by Bongo51 »

Please ensure that the db2 table/file on the Iseries is journalled. Journalling on an iseries file gives the file table logging abilities therefore emulating a database table proper.
Please review this link for further information on journalling;

http://publib.boulder.ibm.com/infocente ... rjrnpf.htm
Post Reply