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

If for Step4 Cond=EVEN, then will step4 looks for Successful


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vineet

New User


Joined: 14 Sep 2005
Posts: 20

PostPosted: Wed Oct 11, 2006 4:55 pm
Reply with quote

Hi All,
Need Small Help for COND Parameter.

1) Lets say in a Job there are 4 steps.Step1,Step2 returns RC=0 ,Step3 Returns Code as = 08. If for step4 I write:
//Step4 Exec Pgm=IEFBR14,cond=(0,EQ). Will this step get executed or not. How the comparision takes Place. Does this mean that Step4 will look for the return code of step3 only?.

2) If for Step4 Cond=EVEN, then will step4 looks for Successful/Faliure of STEP3 only any of Step from 1 to 3.

Thanx
Kind Rgds

Vineet
Back to top
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Wed Oct 11, 2006 5:01 pm
Reply with quote

Vineet,
If you want to check a particular step, use COND=(0,EQ,STEPA)
cheers
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Oct 11, 2006 5:37 pm
Reply with quote

Print the Summary of COND Parameters from the book, and pin it on your wall!

I'm serious, it's only one page and with its help you should be able to answer all your questions.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts IEF142I and Cond. Code 12 All Other Mainframe Topics 3
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
No new posts INCLUDE COND with WHEN=GROUP SYNCSORT 12
Search our Forums:

Back to Top