Thanks to responses.  

Follow-on question - I have looked through JCL Ref Guide & Init & Tuning Guide 
and can't seem to find what I am looking for.  I am looking for exhaustive 
built-in symbols list (such as &SYSUID) that can be used in batch jobs.  I'm 
not talking about the system symbols (such &SMFID) which are defined in 
SYS1.PARMLIB.  To be more specific, I was hoping there was a built-in symbol to 
capture the current jobname such as &JOBNAME, but when I used that in test job 
it got substituted with "JES2" in converted JCL.   Is there some exhaustive 
list of these "Job specific" built in symbols documented someplace as I don't 
see in JCL reference guide.

How can I derive current jobname (or stepname, etc) to use in my JCL stream?

Seems a simple ask but why so hard to find this fully documented anywhere?

Thanks again,
Steve

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to