Substring? OREXXMan JCL is the buggy whip of 21st century computing. Stabilize it. Put Pipelines in the z/OS base. Would you rather process data one character at a time (Unix/C style), or one record at a time? IBM has been looking for an HLL for program products; REXX is that language.
On Mon, Jul 16, 2018 at 2:41 PM, Paul Gilmartin < [email protected]> wrote: > (Can't anyone spell "Symbols" correctly in a subject!?) > > On Mon, 16 Jul 2018 13:08:04 +0000, Allan Staller wrote: > > >SYSSYM=ALLOW in JES2 jobclass definition. > > > These two threads (with different misspellings of "Symbols") piqued my > curiosity. I read in the JCL Ref.: > > Using symbols before fixed code > A period is required after a symbol when the code that follows > the symbol is fixed and begins with: > ... > o A left parenthesis, when it is at the start of the designation > of a relative generation of a generation data group (GDG) that > does not contain a plus or minus sign. > ... > For example, if &SYSNAME resolves to SY1, type DSNAME=PROD.&SYSNAME.(0) > if the desired data set name is PROD.SY1(0). If a plus or minus sign > is included, the period is optional: DSNAME=PROD.&SYSNAME.(+0) and > DSNAME=PROD.&SYSNAME(+0) are both acceptable. > > So, I can code: > PROD.SY1(0) > PROD.&SYSNAME(+0) > PROD.&SYSNAME.(0) > > But not: > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
