On Sun, 10 Jan 2021 08:18:10 -0600 Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
:>On Sun, 10 Jan 2021 14:34:03 +0200, Binyamin Dissen wrote: :> :>>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. ::>>:>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. : :>>:>What do you all think? : :>>If you create a member for each DD statement, : :>> // INCLUDE MEMBER=TAB&NO : :>>should work fine. Or am I missing something? :>Gee. One might create a collection of JCLLIB members mapping the :>Cartesian product of all possible values of all possible symbols. Then :>no such member need contain any symbol references. There can be multiple iINCLUDE statements (with a dummy as a default). Not at all a problem. :>Seriously? There's something wrong here. :>I hate JCL! That is a different issue. -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN