Re: Silly question - can one force IDCAMS PRINT to show printable lower case characters?

2020-12-13 Thread Seymour J Metz
If IDCAMS REPRO does any translation, it should be under the user's control. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Hobart Spitz [orexx...@gmail.com] Sent: Sund

Re: JCL PARM issue

2020-12-13 Thread Charles Mills
Ridiculous! Not you, of course, but the doubling and quadrupling of quotes. There needs to be a better way. CharlesSent from a mobile; please excuse the brevity. Original message From: Ze'ev Atlas <004b34e7c98a-dmarc-requ...@listserv.ua.edu> Date: 12/13/20 5:39 PM (GMT-08

Re: Silly question - can one force IDCAMS PRINT to show printable lower case characters?

2020-12-13 Thread Hobart Spitz
REPRO? On Saturday, December 12, 2020, Seymour J Metz wrote: > CCSID would determine which characters were treated as valid. I would not > expect IDCAMS to second guess the user's InfoPrint parameters. > > Ideally there should be a common print validation service and every > utility would have a

Re: JCL PARM issue

2020-12-13 Thread Ze'ev Atlas
It seems to work with 7 quotes in the beginning, etc. Thank you -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: JCL PARM issue

2020-12-13 Thread Seymour J Metz
RFE? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Sunday, December 13, 2020 4:05 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: J

Re: JCL PARM issue

2020-12-13 Thread Seymour J Metz
If you want a value of "'abc¬*' PCRE2.TESTLIB(GRPIN)" then you need PARM='''abc¬*'' PCRE2.TESTLIB(GRPIN)' in your expanded JCL. to get that you need SET SYMBOL='''abc¬* PCRE2.TESTLIB(GRPIN)'''; I haven't tested this. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: JCL PARM issue

2020-12-13 Thread Paul Gilmartin
On Sun, 13 Dec 2020 13:05:41 -0800, Charles Mills wrote: >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 th

Re: JCL PARM issue

2020-12-13 Thread Ze'ev Atlas
Could you please apply that to my original parameter as the program should see it: [Take the parameter you want to pass, double the apostrophes, put apostrophes around it, double the apostrophes and put apostrophes around that] Do you mean: 1. 'abc¬*' PCRE2.TESTLIB(GRPIN) 2. ''abc¬*'' PCRE2

Re: JCL PARM issue

2020-12-13 Thread Charles Mills
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 ea

Re: JCL PARM issue

2020-12-13 Thread Paul Gilmartin
On Sun, 13 Dec 2020 19:46:34 +, 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 >blan

Re: JCL PARM issue

2020-12-13 Thread retired mainframer
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 On > Behalf Of Ze'ev Atlas > Sent: Sunday, December 13, 2020 11:32 AM > To: IBM-MAIN@LISTSERV.UA.EDU

Re: JCL PARM issue

2020-12-13 Thread Seymour J Metz
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 c

JCL PARM issue

2020-12-13 Thread Ze'ev Atlas
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 qu