ObPrinessBride What gives you that idea?

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Lizette Koehler <[email protected]>
Sent: Friday, July 12, 2019 4:05 PM
To: [email protected]
Subject: Re: JCL COND Parameter

Older JCL Condition Code checking was based on RPN _ Revere Polish Notation

You can use the newer

https://secure-web.cisco.com/1vthbvrk8ZI852hIr5uwrAeAy8iSpBf46SEv2rbbu_S37eJxBr9IeEF_2_lb15ZS8P-XI0kKFX29It8ArerAAf1w-2zA6x6-94YbdiOhTLWj901UPMFqDSTA3f4Fc_-4MBUpa9nEkY3uChBP5B20W-wllJUWL1X3i7PPtjzbpf1t0YckcoAJBkD-il7KYO7jhOWFq3XBLIKgslfMcjJ0mWxorJd45I8AOCFUOlcPOmkmEVGntUGtGVZe04gfOUqRVt2MuauuXnJJGVWV1PPk2llsVLaVwk-pLkR3w1apSHh66kV--iYyq78M5nd0TltUs7t6oiskxz2MyE-G11XalgAuHgKR-2UXHDJOIfqPiQeETB38pY1M6NFUEkvydQAGvMH83aoj87mh6sROY1Vt4K1Age8o3CIG9jopEy_wk7f0sPvyVs6kGjAxUPaH_HG63/https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSLTBW_2.1.0%2Fcom.ibm.zos.v2r1.ieab600%2Fifuse.htm

//[name] IF  [(]relational-expression[)] THEN   [comments]
    .
    .    action when relational-expression is true
    .
//[name] ELSE   [comments]
    .
    .    action when relational-expression is false
    .
//[name] ENDIF   [comments]



> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
> Tony Sambataro
> Sent: Friday, July 12, 2019 11:34 AM
> To: [email protected]
> Subject: JCL COND Parameter
>
> 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

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

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

Reply via email to