running cl at before subroutine

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
talbl
Participant
Posts: 3
Joined: Tue Nov 18, 2008 8:32 am

running cl at before subroutine

Post by talbl »

hi

i am trying to run a cl in the properties of the job at the before subroutine
after 20 min the job aborted but the cl is still running and i am getting this messege "status = 97 (Stopped by operator)"
can anyone tell me why?
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Can you put that in simple English please. Too cryptic for me.

Also provide more information on what you are doing.
talbl
Participant
Posts: 3
Joined: Tue Nov 18, 2008 8:32 am

as400 cl

Post by talbl »

i am trying to run an external program by datastage .
this external program is called cl (as400) . i place the command that runs the external program at the datastage jog at the db2 connect stage at the sql before . the external program is running but the datastage is falling with the message i gave.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

What is the returnCode from the cl ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If it's not SQL then that's not the place to be running it. Sounds like you need to run it before job rather than before sql.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply