I think the upshot here is that support for symbols in *data* is a function of the program being executed. The 'system' will resolve symbols encountered in JCL, but the 'application' has to resolve symbols read from, say, SYSIN. That's why TYPRUN=SCAN will not show resolved symbols in data: the program is not actually executed. Whether it's EZACFSM1 or IEBGENER, the program has to run in order to resolve symbols.
. . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-543-6132 Office ⇐=== NEW robin...@sce.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Smith Sent: Wednesday, June 20, 2018 11:49 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: Using JCL Symbld and TYPRUN=SCAN Well, I think "amazing" may be a bit much. Maybe EZACFMS1 predates DD SYMBOLS=, but it's pretty easy to just use it: // EXEC PGM=IEBGENER //SYSUT1 DD DATA,SYMBOLS=EXECSYS ...your job here /* //SYSUT2 DD SYSOUT=* sas On Wed, Jun 20, 2018 at 1:50 PM, Sri h Kolusu <skol...@us.ibm.com> wrote: > > Where is that EZACFSM1 thing documented? > > Elardus, > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3. > 0/com.ibm.zos.v2r3.halz002/ip_mvs_system_symbols.htm > > I used to use the program EZACFSM1 before the EXPORT enhancements came > in as it supports both static and dynamic symbols. > > sample > > //STEP0100 EXEC PGM=EZACFSM1 > //SYSOUT DD SYSOUT=* > //SYSIN DD DATA,DLM=@@ > CURRENT DATE IS : &LYYMMDD > CURRENT JULIAN DAY OF YEAR IS : &LJDAY > CURRENT DAY OF THE WEEK IS : &LWDAY > CURRENT YEAR IS : &LYR4 > CURRENT DAY IS : &LDAY > CURRENT MONTH IS : &LMON > CURRENT TIME IS : &LHHMMSS > CURRENT HOUR IS : &LHR > CURRENT MINUTE IS : &LMIN > CURRENT SECONDS IS : &LSEC > CURRENT JOBNAME IS : &JOBNAME > @@ > > > Thanks, > Kolusu > > IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on > 06/20/2018 10:26:15 AM: > > > From: Elardus Engelbrecht <elardus.engelbre...@sita.co.za> > > To: IBM-MAIN@LISTSERV.UA.EDU > > Date: 06/20/2018 10:27 AM > > Subject: Re: Using JCL Symbld and TYPRUN=SCAN Sent by: IBM Mainframe > > Discussion List <IBM-MAIN@LISTSERV.UA.EDU> > > > > Sri h Kolusu wrote: > > > > >If you are interested to see the symbol substitution then you can > > use the EZACFSM1 symbol translator utility. > > > > My oh my! That is amazing! > > > > Where is that EZACFSM1 thing documented? > > > > I really appreciate your most helpful reply. I am really humbled by > > your kind reply. I believe all in IBM-MAIN would also be grateful > > for your post. > > > > Thanks again! > > > > Groete / Greetings > > Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN