This is a <snip> of what i have done and it works:

//SET1
Howard:

This is a <snip> of what i have done and it works:

//SET1       SET   ODSN=PROD.JCLLIB
//SET4A      SET   OBLOCK=3120

//STEP1      EXEC  PGM=IEFBR14
//*-------------------------------------------------------*
//*  IEFBR14 ALLOC OUTPUT LIBRARIES
//*-------------------------------------------------------*
//INDD1      DD    DSN=&ODSN,
//           DCB=(DSORG=PO,RECFM=&ORECFM,LRECL=&OLRECL,
//           BLKSIZE=&OBLOCK),UNIT=SYSDA,SPACE=(TRK,(300,100,60)),
//           DISP=(NEW,CATLG)

Regards,
 
Scott J Ford
 




________________________________
From: Howard Brazee <howard.bra...@cusys.edu>
To: IBM-MAIN@bama.ua.edu
Sent: Mon, September 13, 2010 4:39:41 PM
Subject: Re: Another brain-dead quoted PROC parm question

On 13 Sep 2010 12:59:13 -0700, charl...@mcn.org (Charles Mills) wrote:

>If I code it as PARM='&STRING', then if the user wants to pass in a string
>with quotes in it, he needs quadruple quotes, e.g.
>
>//MYSTEP EXEC BAR,STRING='The value is ''''3.14'''''
>
>which I find fairly ridiculous and non-intuitive and error-prone. Is there
>some trick to being able to have a PROC parm that is quoted but does not
>need quadruple quotes? I tried the trick setting &Q to '''' and using that
>instead of a literal quote and also a null parameter &X to fool JCL but
>couldn't get those to work either.

I agree.  My first question here, is whether you can change the
program so that instead of using a parm, you use an input card.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html





----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to