PC 3270 file transfer (IND$FILE) would not be a bad way, and might be the most convenient way, to download an assembler listing, assuming it were in a legacy dataset. IND$FILE supports neither JES spool nor USS files.
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. Can't help you on the FTP API -- nada experience there. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Joseph Reichman Sent: Sunday, October 09, 2016 4:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: intermittent errors using FTP program Interface EZAFTPKS I am looking to down load an Assembler Program Listing to my PC When I submit a batch JCL EXEC PGM=FTP And have the control cards in in INPUT DD * It works Using the program interface EZAFTPKS sometimes it works sometimes it Doesn't As aside it there anyway to invoke the tso SUBMIT command from assembler program Then from an assembler program I could submit that batch job ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN