On 9 October 2016 at 20:03, Charles Mills <charl...@mcn.org> wrote:
> I would guess you could invoke SUBMIT from an assembler program but the
> obvious and simple way to submit a job from within a running program is to
> write the JCL to a QSAM dataset allocated SYSOUT=(,INTRDR). That is what
> SUBMIT does under the covers.

SUBMIT surely uses the VSAM-like (RPL) JES interface so that it can
get the jobid upon ENDREQ, which it reports to the user. Not that QSAM
doesn't work just fine, but there is no direct way to get the jobid as
part of submitting.

Tony H.

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