Try &SYSJOBNM.

Roger W. Suhr

suhr...@gmail.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Colin Paice
Sent: Friday, December 16, 2022 4:07
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Can I get the true jobname in JCL

If I start OMPROUTE.OMP1, or issue Start OMPROUTE,JOBNAME=OMP1, can I get the
OMP1 as a JCL symbol so I can use it to pick up different configuration members?
I can crawl around the control blocks and create a symbol - but want a 
supported solution.

If I use &JOBNAME I get JES2.

Colin

----------------------------------------------------------------------
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

Reply via email to