Yes, it does not do the FTP, it only creates control cards to allow the use of system symbols. https://www.ibm.com/docs/en/zos/2.4.0?topic=considerations-mvs-system-symbols
Bonnie Barthel Senior IT Specialist 719.649.7888 Mobile [email protected] -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Sri h Kolusu Sent: Wednesday, June 15, 2022 10:59 AM To: [email protected] Subject: [EXTERNAL] Re: SFTP JOB Data parameter >> Can we use PGM=EZACFSM1 with sftp also . I am not sure Saurabh, Bonnie meant provide the control cards to symbol translator program EZACFSM1 and use those translated cards to perform the SFTP. You use the dynamic system symbols for current date. Here is the link to the symbols https://www.ibm.com/docs/en/zos/2.4.0?topic=symbols-dynamic-system Something like this //STEP0 EXEC PGM=EZACFSM1 //SYSOUT DD DSN=&&T,DISP=(,PASS),SPACE=(TRK,(1,0)) //SYSIN DD DATA,DLM=@@ OSHELL { ECHO 'LCD /U/OP117/'; + ECHO 'CD /FRB/EBCCLEARING/STAGING/TMP'; + ECHO 'ASCII'; + ECHO 'GET EBC-GOV-YYYYMMDD.TXT'; } | + SFTP -P 2222 [email protected]<mailto:[email protected]> OGET '/U/OP117/EBC-GOV-&LYR4.&LMON.&LDAY..TXT' - 'NBFDP.DATA.XX.XX.SFTP' @@ //STEP1 EXEC PGM=IKJEFT01,REGION=0M //SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC //OUTPUT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD DISP=(OLD,PASS),DSN=&&T Thanks, Kolusu ---------------------------------------------------------------------- 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
