Do you mean I can Call, Link Attach EP=SUBMIT Having R1 point to A(JCL)
On Oct 9, 2016, at 9:38 PM, Charles Mills <[email protected]> wrote: >> 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:[email protected]] On > Behalf Of Tony Harminc > Sent: Sunday, October 09, 2016 5:23 PM > To: [email protected] > Subject: Re: intermittent errors using FTP program Interface EZAFTPKS > >> On 9 October 2016 at 20:03, Charles Mills <[email protected]> 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 [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
