It turns out that I had the correct syntax but I had an error in a previous 
SET. Thanks.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of Sri 
Hari Kolusu <[email protected]>
Sent: Friday, March 22, 2024 2:05 PM
To: [email protected]
Subject: Re: // SET with multiple substitutions?

>> I'd like to do something like // SET FOO=&BAR.&BAZ and have the values of 
>> both symbols inserted rather than just one. Is there a way to do that?


Seymour,

If you have BAR and BAZ symbols defined before the FOO , it will substitute.

// SET BAR=PARM1
// SET BAZ=PARM2
// SET FOO=&BAR.&BAZ

Will result in

2 // SET BAR=PARM1
 3 // SET BAZ=PARM2
 4 // SET FOO=&BAR.&BAZ
   /*
   IEFC653I SUBSTITUTION JCL - FOO=PARM1PARM2


Thanks,
Kolusu



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to