On Mon, 8 Jan 2024 at 12:16, Colin Paice <[email protected]> wrote:
> 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? > https://www.jaymoseley.com/hercules/cbt_ware/pdsupdte.htm Comes with source, so can be changed to handle, like my version, lowercase, and doesn't need the IPOUPDTE required $$$COIBM member. Of course you're aware that edit macros change ISPF stats, which may not be desirable, and large number of changes may fill up a PDS... Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather <https://prino.neocities.org/index.html> Some REXX code for use on z/OS <https://prino.neocities.org/zOS/zOS-Tools.html> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
