On Thu, 21 Dec 2006 12:44:58 +0100, Robert Bardos wrote: > How can I get &X resolved in STEPB in the following stripped down example: > // SET X=SUCCESS > // SET A=&X > // SET B='A=&X' > //STEPA EXEC PGM=IEFBR14,PARM='&A' > //STEPB EXEC PGM=IEFBR14,PARM='&B'
Surprisingly, it seems to work better without the quotes (on z/OS 1.4 at least): // SET X=SUCCESS // SET A=&X IEFC653I SUBSTITUTION JCL - A=SUCCESS // SET B=A=&X IEFC653I SUBSTITUTION JCL - B=A=SUCCESS //STEPA EXEC PGM=IEFBR14,PARM='&A' IEFC653I SUBSTITUTION JCL - PGM=IEFBR14,PARM='SUCCESS' //STEPB EXEC PGM=IEFBR14,PARM='&B' IEFC653I SUBSTITUTION JCL - PGM=IEFBR14,PARM='A=SUCCESS' Regards, Roger Bowler ---------------------------------------------------------------------- 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

