The symbolic parameter is tested against a valid relational-expression keyword, and I'm not using some "IF THIS=&THAT THEN" expression!
Maybe someone from IBM will chip in to once and for all clarify this, update the manual, either way, and tell us who is wrong... Robert On Sun, 14 Nov 2021 at 14:20, Paul Gilmartin < [email protected]> wrote: > On Sun, 14 Nov 2021 10:19:12 +0000, Robert Prins wrote: > > > >> On Sat, 13 Nov 2021 13:54:15 -0600, Robert Prins wrote: > >>> Replying via the website, so no context, apologies > >>> > (The upside of that was it got the timestamp right.) > >> ... > >>> //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” > > > >It's fully supported, it has always been possible to use symbols for > >return-codes, and for IF-THEN(_ELSE) at least since 1997, when I wrote > the edit > >macros to convert and parametrize production JCL using "COND" for our Y2K > and > >euro work. > > > If you disagree with the clear statement in the book ( SA23-1385-50), > "not ... supported", submit an RCF. > > Let us know the resolution. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather <https://prino.neocities.org/index.html> Some REXX code for use on z/OS <https://prino.neocities.org/zOS/zOS-Tools.html> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
