On Sat, 13 Nov 2021 13:54:15 -0600, Robert Prins wrote:
>Replying via the website, so no context, apologies
>
Replying via the website, with context from clicking on the quotation
mark at the upper left of the text composition box, no apologies.
>Use "impossible to match" if-then logic, this is what I use in one particular
>job to just compile:
>
>//SET LI=4095 (skip link)
>//*SET LI=0 (link if compile is OK)
>//*
>//IFLINK IF RC <= 4 & RC >= &LI THEN
>
Your use of "&LI" is not "intended or supported" syntax.
The JCL Ref. says:
• You can specify symbolic parameters on IF/THEN/ELSE/ENDIF
statements provided that they resolve to one of the supported
relational-expression keywords. Any other symbolic parameters,
even if accepted by the system, are not intended or supported.
Refer to “Relational-expression keywords” on page 366.
Neither "0" nor "4095" is among the listed “Relational-expression
keywords”
In old-fashioned JCL, I've used:
//STEP0 EXEC PGM=IEFBT14
//STEP1 EXEC whatever,COND=(0,LE)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN