Great idea! // EXPORT SYMLIST=(MYDSN,MYVOL) // SET MYDSN=MYID.SOME.DSN // SET MYVOL=SYS001 //* //SYMEX EXEC PGM=COZBATCH //STDIN DD * env | grep "JES_" //*
results: JES_SYS_CORR_CURRJOB=S0000434DTLZOS01CC27C5EA.......: JES_MYDSN=MYID.SOME.DSN JES_MYVOL=SYS001 See Example #14: https://coztoolkit.com/docs/cozbatch/examples.html Kirk Wolf Dovetailed Technologies https://coztoolkit.com On Thu, Aug 3, 2023, at 1:39 PM, Paul Gilmartin wrote: > On Thu, 3 Aug 2023 17:48:56 +0000, Seymour J Metz wrote: > > >The short answer is use ADDRESS LINKMVS. It's probably easier to write a > >REXX-aware function in HLASM. > > > I have an Idea: Exported JCL symbols should automatically be available > under OMVS as environment variables. > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN