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
karry450
Participant
Posts: 201 Joined: Wed Nov 14, 2007 11:31 pm
Location: HYD
Post
by karry450 » Wed Feb 02, 2011 6:41 am
Hi Friends,
I am trying to load one file from as400using a db2 stage with some presql and post sql in it,But my jobs fails with the following error
Fatal: [IBM][CLI Driver][AS] SQL0198N The statement string of the PREPARE or EXECUTE IMMEDIATE statement is blank or empty. SQLSTATE=42617
DSTAGE-DB2CLI-0027`:`SQLExecDirect: Error executing statement '
'. See following DB2 message for details. [dscapiop.C:2153]
can any one help me on this
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Feb 02, 2011 9:23 am
Not unless you explain what you are doing pre/post sql and post the "following DB2 message".
-craig
"You can never have too many knives" -- Logan Nine Fingers
karry450
Participant
Posts: 201 Joined: Wed Nov 14, 2007 11:31 pm
Location: HYD
Post
by karry450 » Wed Feb 02, 2011 11:43 pm
chulett wrote: Not unless you explain what you are doing pre/post sql and post the "following DB2 message".
I am creating some alias for some tables in pre sql and in after sql I am dropping the the alias of some other tables
ppgoml
Participant
Posts: 58 Joined: Mon Aug 20, 2007 11:00 pm
Post
by ppgoml » Thu Feb 03, 2011 1:07 am
I tried this using an ODBC connector while I extracted data from as400 multi-member tables. it works file to me.
I suggest you bind ddcs400.lst on your db2 if you have not done it.