Peter, You mean something like this?
//FTPSTEP EXEC PGM=FTP,REGION=4M //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //INPUT DD * ip-address-of-workstation userid password LOCSITE FWFRIENDLY ; may not need BINARY GET workstation-name MAINFRAME.NAME (REPLACE quit /* -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Peter Sent: Monday, January 6, 2020 7:44 AM To: [email protected] Subject: [External] Ftp batch accessing desktop Hi Does anyone have a sample JCL to connect desktop ftp server and get files and replace on preallocated Mainframe dataset ? Basically I would like to achieve it via batch JCL. Peter ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
