When EZAFTPKS returns an error, what values are in the 4 bytes beginning at 
FCAI_Result at offset 32 into the FCAI, and what command is being passed in the 
3rd argument? Is the halfword length in front of the command correct?

Bill

On Sun, 9 Oct 2016 20:07:53 -0400, Joseph Reichman wrote:

>That's what I am going to do 
>
>As i don't know why I am getting errors from 
>EZAFTPKS "sometimes" and when I use 
>EXEC PGM=FTP it works fine 
>
>Thanks 
>
>> On Oct 9, 2016, at 8:03 PM, Charles Mills wrote:
>> 
>> 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

Reply via email to