Thanks for all the suggestions. The best one ( thank you Charles) is //IBMUSERT JOB 1,MSGCLASS=H // JCLLIB ORDER=COLIN.MFA.JCL2 // EXPORT SYMLIST=(*) // SET OWNER='IBMUSER' // SET ADMIN='IBMUSER' // SET TOKEN='MFATOKEN' // SET STC='START1' // SET USERID='CERTID' //S1 EXEC PGM=IKJEFT01,REGION=0M //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD *,SYMBOLS=(JCLONLY) // INCLUDE MEMBER=CERTID // INCLUDE MEMBER=MFACERTU // INCLUDE MEMBER=LU
Where member LU is // DD *,SYMBOLS=JCLONLY LU &USERID MFA This produces LU CERTID MFA 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. Colin On Mon, 8 Jan 2024 at 20:31, Paul Gilmartin < [email protected]> wrote: > On Mon, 8 Jan 2024 12:39:17 -0600, Charles Hardee wrote: > > > >The one thing I forgot to say was that the member being included needs a > >statement like this as the first entry: > > > >// DD *,SYMBOLS=JCLONLY > > > An alternative might be to concatenate JCL and the subject member into > INTRDR. > In either case, the subject member must have been coded with &SYMBOL > references. > It's regrettable that there's no simple way to provide defaults for such > symbols. > > Ah! code the member as a PROC. > > -- > gil > > ---------------------------------------------------------------------- > 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
