Refer to "Assembler Services Guide" "Obtaining a job identifier".
"Issue an ENDREQ macro after writing a complete job to the internal reader. The job identifier is returned in the RPLRBAR field of the request parameter list (RPL)." On Wed, 14 Oct 2020 12:37:01 -0500 Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> 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? -- Binyamin Dissen <bdis...@dissensoftware.com> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN