Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Multiple COND parameter in a step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
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    Post subject: Multiple COND parameter in a step
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    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Fri Sep 11, 2009 10:34 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts query to fetch record which has only ... maxsubrat DB2 4 Mon Dec 11, 2017 5:03 pm
No new posts DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 1 Wed Dec 06, 2017 1:50 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Updating multiple counts in trailer!! Vignesh Sid SYNCSORT 4 Mon Nov 06, 2017 1:04 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us