Don't know ????? 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Comstock
Sent: Thursday, December 15, 2005 9:58 AM
To: [email protected]
Subject: Re: COND= on an EXEC Statement


Dean Montevago wrote:
>>Hi,
>>
>>I'm looking at the JCL manual and I'm not clear as to what's written 
>>on this topic. If I have the following:
>>
>>//STEP1  EXEC PROC1
>>//*
>>//STEP2 EXEC PROC2
>>
>>Proc 2 contains multiple steps with COND='s on the EXEC steps. If I 
>>add a COND=(0,NE) to the statement that calls PROC2 will this override

>>the COND='s on the individual steps in PROC2 ? Basically what I want 
>>to do is flush the job if the first proc doesn't complete with a 
>>condition code of zero.
>>
>>TIA
>>Dean

Why aren't you using // IF ... THEN, //  ELSE, //  ENDIF statements?
They will accomplish what you want to do in a much more understandable
manner.

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to