DB2 Plugin

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
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

DB2 Plugin

Post by iwin »

Hi,
I am trying to get data from DB2 plugin to Transformer and then to Flatfile. As i run the job individually,it is succesful but when i run the same job in a job sequencer i get an error below:

ValidateACU103FCustSetup..Transformer_50: [IBM][CLI Driver] CLI0112E Error in assignment. SQLSTATE=22005
SQLExecute: Error executing statement 'SELECT COST_B4_PGM,CURRENT_COST,CREDIT_CODE_B4_PGM,CURRENT_CREDIT_CODE FROM CUSTOMER_ID=? AND ACU103F_ADDRESS_SEQ=? AND ACU103F_CONTACT_ID=? with NC'. See following DB2 message for details.
gpatton
Premium Member
Premium Member
Posts: 47
Joined: Mon Jan 05, 2004 8:21 am

Post by gpatton »

Please provide the error message that follows.

Also what version of DB2 are you on?

Have you verified that the parameters passed from the sequencer to the job when run are all correct?
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

Post by iwin »

Hi,
The next message i have is :
Attempting to Cleanup after ABORT raised in stage ValidateCustSetup..Transformer_50.
Yes, i have passed all the parameters for the job in sequencer.
Thanks
gpatton
Premium Member
Premium Member
Posts: 47
Joined: Mon Jan 05, 2004 8:21 am

Post by gpatton »

In your first post you said "See following DB2 message for details. "

What dis DB2 complain about. Can you post the DB2 message.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

You need to see from where the 'with NC' appeared from?
iwin
Premium Member
Premium Member
Posts: 99
Joined: Mon Apr 11, 2005 9:20 pm

Post by iwin »

Hi,
I have written the user defined sql "with NC" .
Thanks
Post Reply