Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Paul Gilmartin
On Fri, 11 Sep 2020 15:07:17 -0500, Wendell Lovewell wrote: >... >and while: >//FTPXFER EXEC PGM=FTP,REGION=4M, >// >PARM=('ENVAR("GSK_PROTOCOL_TLSV1_2=ON","GSK_TRACE=0x","GSK_TRACE_FILE=/tmp/gskc.trc")/(EXIT') > >...is possible, it pushes the limits of the PARM value's max length. >

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Wendell Lovewell
Charles: Password is in the clear, just like it's always been. The main security is controlled by directory permissions on the server--it's really a "dump it here". They can't even see what they've uploaded. The download directory (stuff from us) is read-only. Like I said, "kicking and

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Frank Swarbrick
01e9c0ee0673-dmarc-requ...@listserv.ua.edu> Sent: Thursday, September 10, 2020 10:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Passing STDENV DD to FTP via SYSIN Hey Charles, I took you seriously the first time. I appreciate your interest in helping. Bottom line, I'd like to come up with a job a

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Charles Mills
ewell Sent: Friday, September 11, 2020 9:05 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Passing STDENV DD to FTP via SYSIN Hey Charles, No nuclear secrets here. I've been pulled kicking & screaming into adding this level of security anyway. I'm shooting for the absolute easiest way to give

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Wendell Lovewell
Hey Charles, No nuclear secrets here. I've been pulled kicking & screaming into adding this level of security anyway. I'm shooting for the absolute easiest way to give any z/OS and z/VSE customer the ability to upload a file to a server that requires a secured connection. I don't see a way

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Charles Mills
ear's movie but it is not considered not secure, at least if you are not sending nuclear secrets. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Wendell Lovewell Sent: Thursday, September 10, 2020 9:58 PM To: IBM-MAIN@LISTSERV.

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Bernd Oppolzer
After some thinking: the problem is: the parameters you are specifying are LE runtime parameters, so the question is, if FTP uses standard LE services and the LE runtime (then it will work), or if FTP is built using other techniques ... then it will not and all the parameters before the

Re: Passing STDENV DD to FTP via SYSIN

2020-09-11 Thread Bernd Oppolzer
IMO, you can also set the environment variables directly as follows: //FTPXFER EXEC PGM=FTP,REGION=4292K, //PARM=('POSIX(ON) ALL31(ON)', // 'ENVAR("GSK_PROTOCOL_TLSV1_2=ON")/(EXIT') no need to use a file like STDENV. Kind regards Bernd Am 10.09.2020 um 23:58 schrieb Wendell

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Wendell Lovewell
Hey Charles, I took you seriously the first time. I appreciate your interest in helping. Bottom line, I'd like to come up with a job any z/OS customer could run, without requiring changes to any of their system files (like FTPCDATA or AT-TLS or RACF) that would allow them to transmit files

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Charles Mills
: 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

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Mike Hochee
Of Wendell Lovewell Sent: Thursday, September 10, 2020 5:59 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Passing STDENV DD to FTP via SYSIN Caution! This message was sent from outside your organization. Hello, I'm setting up a batch job to access our FTP server using FTPS and TLS 1.2. (Forgive me

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Paul Gilmartin
On Thu, 10 Sep 2020 16:58:52 -0500, Wendell Lovewell wrote: >... >//FTPXFER EXEC PGM=FTP,REGION=4292K, >//PARM=('POSIX(ON) ALL31(ON)', >// 'ENVAR("_CEE_ENVFILE=DD:STDENV")/(EXIT') > >I'm trying to make this as self-contained as possible, and would like to >supply the variables via

Re: Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Charles Mills
Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Wendell Lovewell Sent: Thursday, September 10, 2020 2:59 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Passing STDENV DD to FTP via SYSIN Hello, I'm setting up a batch job to access our FTP server using

Passing STDENV DD to FTP via SYSIN

2020-09-10 Thread Wendell Lovewell
Hello, 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