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