View previous topic :: View next topic
|
Author |
Message |
santosh100678
New User
Joined: 21 Sep 2009 Posts: 55 Location: Kolkatta
|
|
|
|
Hi ,
I have query regarding Cond
suppose i have 8 step in my job and my requrement is if step 2 return code is 20 then step 4 will execute ,if step1 return code is 20 then step 5 will execute and if step 3 return code is 20 then step 7 will execute and if previous stepreturn code is 20 then step 8 will execute. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You would be much better off using IF/THEN/ELSE/ENDIF processing. |
|
Back to top |
|
|
santosh100678
New User
Joined: 21 Sep 2009 Posts: 55 Location: Kolkatta
|
|
|
|
thanks for your reply
i think there is some ibm utility also for step execution on condition base.
if you aware of that then please provide me some example for that |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
As expat has suggested IF/THEN/ELSE/ENDIF would be best way to do so.
or even you can use COND parameter also for the same
I am not aware of any such tool
But I wonder why will IBM or any other company, develop tool for it when you have facility to do it in JCL itself. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
"I just dropped in, to see what condition my condition was in" |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Yeah, yeah, oh yeeaaahh
d |
|
Back to top |
|
|
|