> -----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
Same thing happens on z/OS 1.8. The problem appears to occur when you split the symbol name across card images. When I put in a card like: // SET SYM=Q I get the result // PARM='AAAAAXQBOL2.YCZ' -- 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

