On Wed, 6 Jun 2018 18:02:13 +0000, Seymour J Metz wrote:

>>Except, does support of DSN=&TMP antedate any support of symbols in JCL,
>> not only by SET but also as PROC parameters?
>
>Yes. Bitsavers is your friend. 
><http://bitsavers.org/pdf/ibm/360/os/R01-08/C28-6539-4_OS_JCL_Mar67.pdf>
>
OK.  That says use DSNAME=&name.  R21.7 and later say use DSNAME=&&amp;dsname.
What happens if JCL performs symbol substitution?  For example

//  SET A1='&TEMP'
//  SET A2='&&amp;TEMP'
//*
//STEP  EXEC  PGM=IEFBR14
//D1  DD  DSN=&A1   * Should be unsupported; only one ampersand after 
substitution.
//D1  DD  DSN=&A2   * Should be accepted; two ampersands after substitution.

There's been enough confusion among experts in this forum that a clarifying
RCF seems appropriate.  The existing doc antedates and takes scant account of
symbol substitution

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to