(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