On Fri, 24 Oct 2025 12:39:24 -0500, Charles Mills wrote: >I have JCL that includes the following sequence > > // SET CPPOBJ='/u/userid/CertRept/Obj/' >... >// SET SHELL1B='cd &CPPOBJ' >... >//BPXARCH EXEC PGM=BPXBATCH,COND=(4,LT), >// PARM='SH&B&SHELL1B;... > What's the value of '&B'?
What do symbol SUBSTITUTION messages snow if enabled? >The BPXBATCH cd fails because &SHELL1B has the literal value cd &CPPOBJ -- in >other words, the path name was not substituted for the symbol name &CPPOBJ. > >Is there any way to set a symbol to a string that includes the value of a SET >symbol? > >If not, yeah, I can think of several possible workarounds but this seems like >a pretty gigantic shortcoming to me. The exclamation "Really?" comes to mind. > >I see an IBM-MAIN post by the sorely missed @Peter Relson from Dec 4, 2021, at >10:05 AM with a subject of "Re: Trying to use long parm= in started task" that >addresses this issue but I don't see a resolution. Is there one? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
