Hi,
If you write to the INTRDR with an ACB/RPL and then do an ENDREQ on the
RPL after the last JCL record, then you should find the JOBID in RPLRBAR
of the RPL. This would make it available after the job has been
submitted, as I believe the ENDREQ is like an /*EOF and would cut the
recognised job off, so needs to be after the last card.
Cheers
Stephen
Stephen R. Donaldson, Code Magus Limited (England reg. no. 4024745)
Number 6, 69 Woodstock Road, Oxford, OX2 6EY, United Kingdom Voice: +44
1865 310 768 Fax: +44 1865 316 979 Cell: +44 787 9897709 Support: +44
1865 589826 Skype:vixxmovz http://www.codemagus.com
mailto:[email protected]
On 14/10/2020 18:37, Paul Gilmartin wrote:
I see that the UNIX SUBMIT command shows the JobID of the submitted job.
What interface makes this available. I suspect it's in JES or Assembler
Services,
but I don't know how to find it.
At what point in processing is the submitted JobID available?:
o INTRDR OPEN?
o INTRDR CLOSE?
o somewhere in between?
I'm wondering whether when dynamically generating JCL the job's own
JobID is available for embedding in SYSIN or PARM for a later step.
I've used an IKJEFT TSO ISPF step or SDSF screen scraping to extract
a job's own JobID. Is there a simpler way?
Thanks,
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN