On Wed, 10 Jan 2024 11:41:16 +0000, Colin Paice wrote: >Thanks for all the suggestions. The best one ( thank you Charles) is [ I'm editint -- gil ] > ... >// EXPORT SYMLIST=(*) >// SET USERID='CERTID' > ... >//SYSTSIN DD *,SYMBOLS=(JCLONLY) >// INCLUDE MEMBER=LU > >Where member LU is > >// DD *,SYMBOLS=JCLONLY >LU &USERID MFA > >This produces >LU CERTID MFA > (since SYSTSIN DD introduces an empty concatenand, SYMBOLS= is superfluous there.)
>With this I can easily comment out members when I rerun it. >I can also have commented-out members eg to delete resources I had defined. > >I think all products should use this technique, instead of asking users to >make the same changes to multiple files as part of configuration. > It's regrettable that there's no clean way to provide defaults. Perhaps another JCLLIB member. Perhaps the PROC paradigm to set defaults. What's the scope of a SET statement within a PROC call within an IF...THEN? Must a PROC contain an EXEC? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
