View previous topic :: View next topic
|
Author |
Message |
ruby.sen Currently Banned New User
Joined: 04 Feb 2006 Posts: 6
|
|
|
|
Through JCL if I want to execute the 2nd step provided the Ist step runs successfully, what are the ways I can approach |
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
u can control it using cond parameter
ex. if u want to execute step2 on successfull exec. of step01.(RC=0)
//step02 exec pgm=xyz,cond=(0,NE) |
|
Back to top |
|
|
parsesource
New User
Joined: 06 Feb 2006 Posts: 97
|
|
|
|
i recommend using IF THEN. it does basically the same as COND, but it?s more readable
IF stepnamestep1.RC = 0 THEN
STEP2....
ENDIF |
|
Back to top |
|
|
|