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 syntax for symbol substitution is identical, whether it is a JCL symbol or 
a system symbol.



RTFM is left as an exercise for the original poster.



-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Monday, July 16, 2018 1:42 PM
To: [email protected]
Subject: Symbol syntax (was: Using system sysmbols in a procedure)



(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]<mailto:[email protected]> with the message: 
INFO IBM-MAIN

::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to