STEP000 executes as expected with CC=00.
STEP010 executes as expected with CC=16.
STEPA030 does not execute because CC=07 *is* greater than the CC=00 of
STEP000.
STEPA040 does execute because CC=07 *is not* greater than the CC=16 of
STEP010.
 
HTH Chris Poncelet (retired sysprog)
 


On 12/07/2019 19:34, Tony Sambataro 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> .
>


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to