> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul 
> [EMAIL PROTECTED]
> Sent: Monday, June 02, 2008 11:48 AM
> To: [email protected]
> Subject: JCL Symbol Not Substituted
> 
> --------------------------------------------------------------
> ----------
> //* on a z/OS v1r7 JES2 system, the JCL job step:
> //*
> //  SET  SYMBOL1=A
> //  SET  SYMBOL2=B
> //  SET  SYMBOL3=C
> //*.+....|....+....|....+....|....+....|....+....|....+....|..
> ..+....|..
> //STEP1    EXEC  PGM=IEFBR14,
> //             
> PARM='&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.x&SYM+
> //             BOL2.y&SYMBOL3.z'
> //*.+....|....+....|....+....|....+....|....+....|....+....|..
> ..+....|..
> //COMMENTS DD    *
> Shows the following in the JESJCL listing:
> 
> 3 //  SET  SYMBOL1=A
> 4 //  SET  SYMBOL2=B
> 5 //  SET  SYMBOL3=C
>   
> //*.+....|....+....|....+....|....+....|....+....|....+....|..
> ..+....|..
> 6 //STEP1    EXEC  PGM=IEFBR14,
>   //             
> PARM='&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.&SYMBOL1.x&SYM+
>   //             BOL2.y&SYMBOL3.z'
>   
> //*.+....|....+....|....+....|....+....|....+....|....+....|..
> ..+....|..
>   IEFC653I SUBSTITUTION JCL - PGM=IEFBR14,PARM='AAAAAx&SYMBOL2.yCz'
> 
> Apparently the JES2 reader/converter is failing to substitute the
> value 'B' for the symbol "&SYMBOL2".
> 
> PMR submitted.
> 
> -- gil

May be a WAD according to:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B670/5.4.
4.1

<quote>
The system substitutes all symbols on an 80-character record.
...
It may be that the number and length of symbols form a parameter that
does not fit within the limits imposed by an 80-character record. (In
reality the limit is 68 characters, because columns 1, 2, and 3 must
contain respectively a slash, slash, and blank, and column 72 must be
blank.) Two techniques for handling this situation are: (1) defining
shorter symbols to substitute for the longer ones, or (2) dividing the
series of symbols so as to form two parameters, which would allow you to
place a comma after the first and move the second to a continuation
record.
</quote>

though not specifically stated, the above would strongly imply that
continuing a symbol across multiple cards is not supported.


--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.  

----------------------------------------------------------------------
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

Reply via email to