CPPUPDTE (nee IPOUPDTE) only changes a  existing member; the easiest ways I can 
think of to do what you want are ISPF file tailoring or JCL substitution with a 
// INCLUDE. I would probably go with the former.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Colin Paice <[email protected]>
Sent: Monday, January 8, 2024 7:16 AM
To: [email protected]
Subject: How to configure using PDS members in JCL.

I have a PDS with configuration definitions in it and want to make it easy
to configure.

I want to have PDS members with content like PERMIT ... ACCESS(READ)
CLASS(...) ID(&ID)
and want the &ID to be substituted for example in JCL // SET ID=COLIN, and
be able to change the value on each run.
However JCL symbols only work with SYSIN DD * type data not within dataset
members.

What is the best way of doing this?

- I could have an inline IEBUPDTE which does the substitution and creates
the members.
- I've found references to IPOUPDTE.  Is there a modern version of this
provided by IBM?
- I could write an ISPF macro.
But none of these match the ease of changing the JCL // SET ID=COLIN
statement.

Colin

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


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

Reply via email to