Re: IF/THEN/ELSE checking in JCL

2008-11-21 Thread Howard Brazee
On 21 Nov 2008 06:49:07 -0800, [EMAIL PROTECTED] (Jeff Holst) wrote: >An approach that has been taken in this shop is to place steps that execute a >program named BLOWUP after each step that must achieve a specific return >code for any of the following steps to execute. Each BLOWUP step checks t

Re: IF/THEN/ELSE checking in JCL

2008-11-21 Thread Mark Zelden
On Fri, 21 Nov 2008 08:41:56 -0600, Jeff Holst <[EMAIL PROTECTED]> wrote: >An approach that has been taken in this shop is to place steps that execute a >program named BLOWUP after each step that must achieve a specific return >code for any of the following steps to execute. Each BLOWUP step check

Re: IF/THEN/ELSE checking in JCL

2008-11-21 Thread Jeff Holst
An approach that has been taken in this shop is to place steps that execute a program named BLOWUP after each step that must achieve a specific return code for any of the following steps to execute. Each BLOWUP step checks the return code of the immediately previous step. Depending on who is doi

Re: IF/THEN/ELSE checking in JCL

2008-11-20 Thread Clem Clarke
John McKown wrote: On Thu, 20 Nov 2008 13:02:25 +0930, Fred Schmidt <[EMAIL PROTECTED]> wrote: Hi, We have a job with lots of steps, where STEP1 must complete with RC <=04 and all subsequent steps must end with RC=00 if the next step is to run. I can see that we could test IF (RC LE 4) AND

Re: IF/THEN/ELSE checking in JCL

2008-11-20 Thread John McKown
On Thu, 20 Nov 2008 13:02:25 +0930, Fred Schmidt <[EMAIL PROTECTED]> wrote: >Hi, > >We have a job with lots of steps, where STEP1 must complete with RC <=04 >and all subsequent steps must end with RC=00 if the next step is to run. > >I can see that we could test IF (RC LE 4) AND (STEPn-1.RC=0) for

Antwort: IF/THEN/ELSE checking in JCL

2008-11-20 Thread Michael Klaeschen
<[EMAIL PROTECTED]> Gesendet von: IBM Mainframe Discussion List 20.11.2008 04:32 Bitte antworten an IBM Mainframe Discussion List An IBM-MAIN@BAMA.UA.EDU Kopie Thema IF/THEN/ELSE checking in JCL Hi, We have a job with lots of steps, where STEP1 must complete with RC <=0

IF/THEN/ELSE checking in JCL

2008-11-19 Thread Fred Schmidt
Hi, We have a job with lots of steps, where STEP1 must complete with RC <=04 and all subsequent steps must end with RC=00 if the next step is to run. I can see that we could test IF (RC LE 4) AND (STEPn-1.RC=0) for each STEPn. However, that means a lot of editing to specify the stepname in each t