> He also noted this:

When? For decades there was no symbol substitution for instream data, but that 
hasn't been the case for a long time. Still, the rules are a bit clumsy.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Phil Smith III [li...@akphs.com]
Sent: Thursday, August 24, 2023 6:45 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is SMP/E needed for installs?

Gil wrote:
>I'm ignorant, or at best outdated.  I haven't known of use of symbols by SMP/E.
>But are there instances where the same &symbol would need to appear in
>one instream data set where it should be evaluated and in another where it
>must not, regardless of  //name DD DATA,SYMBOLS=...?  Cite detailed
>example, please.

I mean things like the RFPREFIX value on a RECEIVE command, which apparently 
cannot be &whatever but must specify the data set prefix of the RELFILEs. Same 
for the value for a PATH on a DDDEF.

>There are ways. however cumbersome, to escape symbol evaluation in
>instream data sets.

Well, maybe; I didn't write this stuff but the guy who did was pretty sharp, 
and couldn't figure out ways around the above. He also noted this:
//*    ***NOTE*** Some references to variable values are in records
//*               provided as part of SYSIN DD *, and thus cannot be
//*               filled in using JCL variables (&HLQ et al.). Thus
//*               in this job, you must replace all references to
//*               !hlq!, !unit!, and !volser!, not just the single
//*               SET statement for each.

Maybe there's a clever way around that? It's referring to things like:
//SYSIN    DD *
  DEFINE CLUSTER(                            +
           NAME(!hlq!.GLOBAL.CSI)            +
           VOLUMES(!volser!)                 +
           CYLINDERS(20 10)                  +
           FREESPACE(2 2)                    +
           KEYS(24 0)                        +
           RECORDSIZE(24 143)                +
           SHAREOPTIONS(2 3)                 +
           )                                 +
      DATA (                                 +
           NAME(!hlq!.GLOBAL.CSI.DATA)       +
           CONTROLINTERVALSIZE(8192)         +


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

----------------------------------------------------------------------
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