Forget the enclosing quotes and the JCL quote-doubling rules.  Show us the 
exact text you want PCR2GREP to see when it executes.

> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf Of Ze'ev Atlas
> Sent: Sunday, December 13, 2020 11:32 AM
> To: [email protected]
> Subject: JCL PARM issue
> 
> 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
> 
> Ze'ev Atlas

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

Reply via email to