On Mon, 16 Jul 2018 14:45:10 -0400, Hobart Spitz wrote: >Substring? > Bingo! I didn't know that. Thanks.
On Mon, 16 Jul 2018 18:47:31 +0000, Allan Staller wrote: >The method and syntax for symbolic substitution has been clearly documented >going back to when I started in this business (OS/MVT R18). > >It hasn't changed. > >The stntax for symbol substitution is identical, whether it is a JCL symbol or >a system symbol. > No. >RTFM is left as an exercise for the original poster. > I did. There I see: Note: 1. JCL supports substringing of system symbols but not JCL symbols. You can use substringing to specify a subset of characters in substitution text. For an explanation of substringing symbols, see the substringing symbols information in the general rules for coding symbols in z/OS MVS Initialization and Tuning Reference Ouch! The syntactic difference and the citation of I&T Ref. lead me to suspect that the substringer is part of the system symbol resolver, at execution time, not of the Reader/Converter. But the interpreter must make the decision, based on the second character following the symbol name. >-----Origanal Message----- >From: Paul Gilmartin >Sent: Monday, July 16, 2018 1:42 PM > >(Can't anyone spell "Symbols" correctly in a subject!?) > > PROD.&SYSNAME(0) > >Why not? And what does the prohibited form mean? > >I hate JCL! -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
