On Wed, 30 Dec 2020 19:21:52 +0000, Billy Ashton wrote:

>Hey folks! I have a vendor product program that looks for different 
>DDnames depending on the control statements passed into the program. Is 
>there any way to define a dynamic DD statement using JCL symbols? For 
>example, I would love to have //TB&tno.DAT to correspond to TB01DAT, 
>TB14DAT, or TB67DAT if I use SET TNO=01 or 14 or 67.
>
ITYM "//TB&tno..DAT"

>Is such a thing possible? I tried using an instream proc definition and 
>INCLUDE MEMBER= that proc name, but that failed, and of course, I tried 
>the straight up JCL as above, and it failed.
>
But to no avail.  From somewhere in the JCL Ref.:
    4. Do not use symbols to change the identifier field, name field, or 
operation field of a JCL statement.

>What do you all think?
>
o ObEmerson
o Doesn't this contravene Peter R's strict assertion that IBM documentation
  does *not* attempt to document what is *not* supported.

-- gil

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

Reply via email to