> SUBMIT surely uses the VSAM-like (RPL) JES interface so that it can get the 
> jobid upon ENDREQ ...

Fair enough.

Another option available to an assembly language program ... (and superior IMHO 
to trying to run SUBMIT from a program).

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Harminc
Sent: Sunday, October 09, 2016 5:23 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: intermittent errors using FTP program Interface EZAFTPKS

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.

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