On Wed, 6 Jun 2018 11:51:30 -0400, Steve Smith wrote: >This has been previously discussed. The main issue (as usual) is >incompatibility with an ancient bug (or feature). Specifically, temporary >dataset names such as DSN=&TMP. That's supposed to be DSN=&&TMP, but for >whatever reason, the single-& version works, unless &TMP is a symbol. > Bug? Feature? I call it a primeval bad design. Any use of an undefined symbol should always have resulted in a JCL error.
Except, does support of DSN=&TMP antedate any support of symbols in JCL, not only by SET but also as PROC parameters? When to double ampersands and apostrophes get resolved? I believe that regardless of MSGLEVEL, when I code: //EXEC PGM=IEFBR14,PARM='O''Reilly &&SYSUID &SYUID' //SET RFM=FB //SYSUT2 DD DISP=(,PASS),DSN=&&TMP,RECFM=&RFM, ... I still see double ampersands and double apostrophes in the JCL substitution messages, but they are collapsed by the time the program inspects its PARM. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN