Page 1 of 1

Accessing JOBID via DFSORT?

PostPosted: Fri Jan 30, 2009 1:40 am
by BSvihraJr
I know I can use...

//SYMNAMES DD *
JOB,S'&JOBNAME'
/*


...to get the job name. Wondering if I can also access the JES JOBID somehow also so I can write it out in a header record of an output file.

Thanks!

Re: Accessing JOBID via DFSORT?

PostPosted: Fri Jan 30, 2009 1:56 am
by Frank Yaeger
DFSORT's S-constants can use Dynamic system symbols, System-defined static system symbols and installation-defined static system symbols. I don't know if JOBID is available in that set. See the following for more information:

http://publibz.boulder.ibm.com/cgi-bin/ ... 0618072559