Yes, you specify under which condition(s) to NOT run.

On Fri, Jul 12, 2019 at 6:44 PM Tony Sambataro
<[email protected]> wrote:
>
> Having a discussion at our site as to how the jcl below should execute as far 
> a cond code handling. I believe the two steps with COND= coded should both 
> execute. But in my test only the one with a step name coded runs. Would 
> appreciate other opinions.
>
> //STEP000  EXEC PGM=IEFBR14
> //STEP010  EXEC PGM=IDCAMS
> //SYSPRINT DD SYSOUT=X
> //SYSIN    DD *
>  SET MAXCC=16
> //STEPA030 EXEC PGM=IEFBR14,COND=(7,GT)
> //STEPA040 EXEC PGM=IEFBR14,COND=(7,GT,STEP010)
>
> STEP000  IEFBR14  ------------------ R0000
> STEP010  IDCAMS   ------------------ R0016
> STEPA030 IEFBR14  ------------------ NXEQ
> STEPA040 IEFBR14  ------------------ R0000
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to