SQLSTATE=S1000, DBMS.CODE=-7008

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
anakumar
Participant
Posts: 8
Joined: Wed Oct 21, 2009 11:49 am

SQLSTATE=S1000, DBMS.CODE=-7008

Post by anakumar »

Getting the following error when trying to insert data into DB2 from Datastage 7.5.2 on solaris 2.10
It is fine when we try to view data

LdBDetailTableTESTTEST..Xfm.DataToInsert: DSD.BCIPut call to SQLExecute failed.
SQL statement:INSERT INTO J73DISDTA.F554211B(SZEDUS) VALUES (?)
SQLSTATE=S1000, DBMS.CODE=-7008
[DataStage][SQL Client][ODBC][DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]F554211B in J73DISDTA not valid for operation. 3

SZEDUS = "EXPL_DIS "
Apanandha
aoriano
Participant
Posts: 15
Joined: Fri Apr 25, 2008 8:00 am

Post by aoriano »

This is not a DataStage problem. You should probably show your error message to your DB2 DBA.

I had this problem once, but it was resolved by the DB2 team.
anakumar
Participant
Posts: 8
Joined: Wed Oct 21, 2009 11:49 am

Post by anakumar »

aoriano,
Thanks for your response.
This query was working fine.
The AS400 was upgraded and we started getting this issue

Is there someway we can confirm that this is only a DB2 issue?

Please let me know
Thanks
Anandha kumar
Apanandha
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do you have any details on exactly what "the AS400 was upgraded" means? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
anakumar
Participant
Posts: 8
Joined: Wed Oct 21, 2009 11:49 am

Post by anakumar »

Well we upgraded As400 from 5.2 to 5.3
Not sure if this upgrades the DB2 also
Apanandha
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It would be good to know, one way or the other. And you still need to take this error to your DB2 DBA.
-craig

"You can never have too many knives" -- Logan Nine Fingers
anakumar
Participant
Posts: 8
Joined: Wed Oct 21, 2009 11:49 am

Post by anakumar »

Found a solution to this issue. This post can be marked as resolved.

Journal was not enabled on the AS400 and it worked as soon as Journal was enabled.

Thanks for giving some pointers
Apanandha
Post Reply