> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Edward Jaffe
>
> John P. Baker wrote:
> > Yes, it does.
> >
> > Please refer to SA22-7597-11 z/OS V1R9.0 MVS JCL Reference,
> page 16-22.
> >
> > Examples 3 and 4 demonstrate clearly that a comma (",") will be
> > inserted between the parameters.
> >
>
> You're right. For some reason I remembered incorrectly that
> those "extra" commas were "eaten" by the system and not
> surfaced to the application. But, I guess not. :-(
>
> That leaves only something like this as a solution:
>
> // SET SYMBOL1=A
> // SET SYMBOL2=B
> // SET SYMBOL3=C
> // SET SYM1X5=&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.
> //*.+....|....+....|....+....|....+....|....+....|....+....|..
> ..+....|..
> //STEP1 EXEC PGM=IEFBR14,
> // PARM='&SYM1X5.x&SYMBOL2.y&SYMBOL3.z'
But recalling that the PARM keyword does not need to start in column 16
(only the continuation line needs to), this works on 1.9:
// SET SYMBOL1=A
// SET SYMBOL2=B
// SET SYMBOL3=C
//STEP1 EXEC PGM=IEFBR14,
// PARM='&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.X&SYMBOL2+
// Y&SYMBOL3.Z'
IEFC653I SUBSTITUTION JCL - PGM=IEFBR14,PARM='AAAAAXBYCZ'
Case doesn't matter, either:
//STEP1 EXEC PGM=IEFBR14,
// PARM='&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.x&SYMBOL2+
// y&SYMBOL3.z'
IEFC653I SUBSTITUTION JCL - PGM=IEFBR14,PARM='AAAAAxByCz'
-jc-
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html