Do you think IBM would conceivably embrace the idea of PARM= honoring " (quotation marks) as delimiters?
PARM="'abc�*' PCRE2.TESTLIB(GRPIN)" would be a lot clearer than PARM='''abc�*' PCRE2.TESTLIB(GRPIN)'' I find products that allow the use of either " or ' to delimit strings to be a lot easier to use. "Don't touch!" is a lot clearer (to me at least) than 'Don''t touch!'. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Sunday, December 13, 2020 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: JCL PARM issue On Sun, 13 Dec 2020 19:46:34 +0000, Seymour J Metz wrote: >You have a double substitution. Take the parameter you want to pass, double >the apostrophes, put apostrophes around it, double the apostrophes and put >apostrophes around that. The way you coded it, the first exapnsion there is a >blank outside of the apostrophes, making the rest of the string a comment. > >Maybe it's time for an RFE to include comments in the substitution JCL. > It's time for an RFE for the equivalent of HLASM's DOUBLE BIF. No "Maybe". Does PARMDD handle this better? >________________________________________ >From: Ze'ev Atlas >Sent: Sunday, December 13, 2020 2:31 PM > >What am I doing wrongI have doubled every single quote within the string, that >should be:'''abc�*' PCRE2.TESTLIB(GRPIN)'' >|||� |� ||||+-----+ >|||+----------------------------+|+------------------------------+where the >external quotes are the enclosing quotes.So the actual PARM field looked like: >// EXEC RUNGREP,TEST='------------------ Test 15 -----------------',// >PARM1='''''abc�*'' PCRE2.TESTLIB(GRPIN)''' >++TEST8 EXEC PGM=PCR2GREP, ++ PARM=&PARM1 > IEFC653I SUBSTITUTION JCL - >PGM=PCR2GREP,PARM=''abc�*' >Why does JCL drop the rest of PARM1?Thank you all -- gil ---------------------------------------------------------------------- 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