And I mean that second paragraph as a serious question : tell me and I will try to help; not as sarcasm. CharlesSent from a mobile; please excuse the brevity. -------- Original message --------From: Charles Mills <charl...@mcn.org> Date: 9/10/20 3:27 PM (GMT-08:00) To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Passing STDENV DD to FTP via SYSIN I have considerable experience in hacking FTP into doing unnatural acts but not enough of a UNIX person to be totally up-to-speed on using environment variables.What is it that you are trying to get FTP to do that PARM= + SYSFTPD DD * + INPUT DD * will not accomplish?Charles-----Original Message-----From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Wendell LovewellSent: Thursday, September 10, 2020 2:59 PMTo: ibm-m...@listserv.ua.EDUSubject: Passing STDENV DD to FTP via SYSINHello,I'm setting up a batch job to access our FTP server using FTPS and TLS 1.2. (Forgive me if that nomenclature is less than perfect.)I've imported certficates, built a keyring, and come up with a combination of FTP client parameters that will allow me to connect to the server and upload a file://FTPXFER EXEC PGM=FTP,REGION=4292K,// PARM=('POSIX(ON) ALL31(ON)',// 'ENVAR("_CEE_ENVFILE=DD:STDENV")/(EXIT')//OUTPUT DD SYSOUT=*//STDENV DD DISP=SHR,DSN=WRL1.FTPS.STDENV//*//* //STDENV DD *//* GSK_PROTOCOL_TLSV1_2=ON//*//SYSFTPD DD *CLIENTERRCODES EXTENDEDEPSV4 TRUEEXTENSIONS AUTH_TLSFWFRIENDLY TRUEKEYRING TCPIP/FTP.KEYRINGPASSIVEIGNOREADDR TRUESECUREIMPLICITZOS FALSESECURE_FTP REQUIREDSECURE_MECHANISM TLSSECURE_DATACONN PRIVATESECURE_CTRLCONN PRIVATESECURE_HOSTNAME REQUIREDTLSMECHANISM FTPTLSRFCLEVEL CCCNONOTIFY/*//INPUT DD *I'm trying to make this as self-contained as possible, and would like to supply the variables via SYSIN rather than require the PS file named on the un-commented version of the STDENV DD. BPXBATCH is the only program I can find documented that says "//STDENV DD *" is supported. FTP, at least with the PARM I'm using, seems to ignore it.----------------------------------------------------------------------For IBM-MAIN subscribe / signoff / archive access instructions,send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN