IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Multiple COND parameter in a step


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lekshmyrema

New User


Joined: 10 Sep 2009
Posts: 2
Location: Trivandrum

PostPosted: Thu Sep 10, 2009 9:01 pm
Reply with quote

I have two steps in JOB( STEP01 and Step02). STEP02 should run only when the return code from STEP01 is either 0 or 2000. We are asked not to use IF conditon in JCL. How to make the above check possible by using multiple COND parm???
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Sep 10, 2009 9:27 pm
Reply with quote

May I ask why you have been told to not use the IF/THEN/ELSE/ENDIF construct in favor of the COND parameter in light of the fact that the IF is recommended and most developers find it more readily understood?
Back to top
View user's profile Send private message
lekshmyrema

New User


Joined: 10 Sep 2009
Posts: 2
Location: Trivandrum

PostPosted: Thu Sep 10, 2009 9:34 pm
Reply with quote

If we use IF, the job cannot be restarted in CTM tool
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Sep 10, 2009 9:39 pm
Reply with quote

This appears to be the same question as one in another formum. Please refrain from doing that.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Sep 11, 2009 10:34 am
Reply with quote

And this thread also talks about the very similar (same probably) question! icon_eek.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top