Paul, END is how the variable name ends. It can be separated by comma, a dot, tow dots and a space. After substituting the variable with its value, I clean double dots for example.
Remember that in the op situation, the input is a jock library. Nothing was submitted nor running. IEF messages are not relevant in this case. Btw, substituting DD cards a Is relatively simple. Try to parse parm fields that might have spaces, brackets and apostrophes and variables inside Best, ITschak בתאריך יום ו׳, 4 באוג׳ 2023 ב-16:26 מאת Paul Gilmartin < [email protected]>: > On Fri, 4 Aug 2023 10:02:29 +0300, Itschak Mugzach wrote: > > ... > > - Substitution is more complex since you have several END options and > to > > ignore temporary datasets such as those starting with '&&' > > What's an END option? (Example?) > > I need to submit an RCF that the JCL Ref. fails to clarify the effect of > substitutioh's resulting in a name beginning with "&" or "&&" in the > equivalent JCL. as in: > // SET V1='&FOO' > // SET V2='&&BAR' > //* > //STEP EXEC PGM=MYPGM > //DD1 DD DSN=&V1,... > //DD2 DD DSN=&V2,... > > > On Fri, 4 Aug 2023 11:58:13 +0000, Seymour J Metz wrote: > > >Senior moment - it was the disposition messages, not the substitution > messages, that got moved. For substitution the change was using a message > id. > > > I believe that substitution messages can be issued by the Converter but > disposition > messages only after step execution. > > And I find it an irritating omission that substitution messages do not > report > substitution of "&" for "&&". > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS, x/Linux & IBM I **| z/VM coming soon * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
