Re: Anyone have SFTP JCL to share?
FWIW, Here's an example using Co:Z SFTP: //SFTPCONN EXEC PROC=SFTPPROC //SFTPIN DD * user=myuser host=myhost.myco.com lzopts="mode=text" lfile="//DD:MYDD" rfile="/app/data/remotefile.txt" . $script_dir/sftp_connect.sh <https://dovetail.com/docs/sftp/client.html#client-batch Kirk Wolf Dovetailed Technologies http://dovetail.com PS> Co:Z can be used free subject to the terms of our Community License. Enterprise License and Support agreements are also available. See:https://dovetail.com/support.html On Tue, Apr 20, 2021 at 2:57 PM Longnecker, Dennis < dennis.longnec...@courts.wa.gov> wrote: > Stuff is becoming such a pain. I found in this situation it was much > easier to FTP the file from the mainframe to my PC, and then to use > FileZilla to sftp it up to Broadcom. > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Ward, Mike S > Sent: Tuesday, April 20, 2021 12:44 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Anyone have SFTP JCL to share? > > > > > I believe SFTP is part of SSH, so you would have to install that. It's > free from IBM. Then I believe Rocket Software has a freebee that allows you > to use SFTP in batch with MVS datasets. > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Billy Ashton > Sent: Wednesday, April 14, 2021 2:13 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: [EXT] Anyone have SFTP JCL to share? > > Please Note: This email is from an [EXTERNAL] sender. Do not click on > links or attachments unless you expect them from the sender and know the > content is safe. Please contact the Service Desk if you have any concerns > regarding this message. > > > > Hi everyone! I was just moved to support a CA product (I guess that's > Broadcom now), and have to send in a sensitive file to one of my support > cases. The file is pretty large, and the support tech said I have to copy > it to OMVS to use SFTP for uploading it. I am not sure I have that space > available on the other side, so I was wondering if anyone here has a BPX > batch job that will send a file to CA or Broadcom from the z/OS file > without having to first copy the file to my Unix filesystem. > > I hope this is clear, and that someone can help me. > > Thanks! > Billy > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > == > This email, and any files transmitted with it, is confidential and > intended solely for the use of the individual or entity to which it is > addressed. If you have received this email in error, please notify the > system manager. This message contains confidential information and is > intended only for the individual named. If you are not the named addressee, > you should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this message by > mistake and delete this e-mail from your system. If you are not the > intended recipient, you are notified that disclosing, copying, distributing > or taking any action in reliance on the contents of this information is > strictly prohibited. > > -- > 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 > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
SFTP is not part of SSH, but I believe that openSSH includes a client and server for SFTP, and that IBM offers a por of openSSH for z/OS. Wrong vendor, but yes. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Ward, Mike S [mw...@ssfcu.org] Sent: Tuesday, April 20, 2021 3:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Anyone have SFTP JCL to share? I believe SFTP is part of SSH, so you would have to install that. It's free from IBM. Then I believe Rocket Software has a freebee that allows you to use SFTP in batch with MVS datasets. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
On Tue, 20 Apr 2021 19:57:43 +, Longnecker, Dennis wrote: >Stuff is becoming such a pain. I found in this situation it was much easier >to FTP the file from the mainframe to my PC, and then to use FileZilla to sftp >it up to Broadcom. > That's symptomatic of a deficit of commitment to the 21st Century on IBM's part. Rather IBM should make the obsolete product painful. >-Original Message- >From: Ward, Mike S >Sent: Tuesday, April 20, 2021 12:44 PM > >I believe SFTP is part of SSH, so you would have to install that. It's free >from IBM. Then I believe Rocket Software has a freebee that allows you to use >SFTP in batch with MVS datasets. > ITYM Dovetailed: https://dovetail.com/products/sftp.html ... but Rocket may supply Classic SFTP via Ported Tools. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
Sorry all: Was not meant for the list...fingers to fast Kenneth A. Bloom Avenir Technologies Inc /d/b/a Visara International 203-984-2235 bl...@visara.com www.visara.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ken Bloom Sent: Tuesday, April 20, 2021 4:04 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Anyone have SFTP JCL to share? Looks like you are going to get 2 DASD updates instead of one. The bleeds look like they are all fixed, however, Don indicated that while we are not losing dibs anymore, we are getting close to using all of them with 16CU's defined and running 4 channels and all of the drives getting pounded from all directions. So he is increasing the available DIBS by a factor of 16 for each CU. So the first Update will be for the bleed only so we can start cooking the unit for 10 days. The un-init volume issue which on the surface to me seems simple to fix has a few more opportunities to fix. So that will come after the bleed. So plan on the Bleed issue update tomorrow morning some time. They started coding the locate block but as of tonight its not ready yet, but lets see what happens in the AM. Ken Kenneth A. Bloom Avenir Technologies Inc /d/b/a Visara International 203-984-2235 bl...@visara.com www.visara.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ward, Mike S Sent: Tuesday, April 20, 2021 3:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Anyone have SFTP JCL to share? I believe SFTP is part of SSH, so you would have to install that. It's free from IBM. Then I believe Rocket Software has a freebee that allows you to use SFTP in batch with MVS datasets. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, April 14, 2021 2:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXT] Anyone have SFTP JCL to share? Please Note: This email is from an [EXTERNAL] sender. Do not click on links or attachments unless you expect them from the sender and know the content is safe. Please contact the Service Desk if you have any concerns regarding this message. Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN == This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message by mistake and delete this e-mail from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
Looks like you are going to get 2 DASD updates instead of one. The bleeds look like they are all fixed, however, Don indicated that while we are not losing dibs anymore, we are getting close to using all of them with 16CU's defined and running 4 channels and all of the drives getting pounded from all directions. So he is increasing the available DIBS by a factor of 16 for each CU. So the first Update will be for the bleed only so we can start cooking the unit for 10 days. The un-init volume issue which on the surface to me seems simple to fix has a few more opportunities to fix. So that will come after the bleed. So plan on the Bleed issue update tomorrow morning some time. They started coding the locate block but as of tonight its not ready yet, but lets see what happens in the AM. Ken Kenneth A. Bloom Avenir Technologies Inc /d/b/a Visara International 203-984-2235 bl...@visara.com www.visara.com -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ward, Mike S Sent: Tuesday, April 20, 2021 3:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Anyone have SFTP JCL to share? I believe SFTP is part of SSH, so you would have to install that. It's free from IBM. Then I believe Rocket Software has a freebee that allows you to use SFTP in batch with MVS datasets. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, April 14, 2021 2:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXT] Anyone have SFTP JCL to share? Please Note: This email is from an [EXTERNAL] sender. Do not click on links or attachments unless you expect them from the sender and know the content is safe. Please contact the Service Desk if you have any concerns regarding this message. Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN == This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message by mistake and delete this e-mail from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- 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
Re: Anyone have SFTP JCL to share?
Stuff is becoming such a pain. I found in this situation it was much easier to FTP the file from the mainframe to my PC, and then to use FileZilla to sftp it up to Broadcom. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Ward, Mike S Sent: Tuesday, April 20, 2021 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Anyone have SFTP JCL to share? I believe SFTP is part of SSH, so you would have to install that. It's free from IBM. Then I believe Rocket Software has a freebee that allows you to use SFTP in batch with MVS datasets. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, April 14, 2021 2:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXT] Anyone have SFTP JCL to share? Please Note: This email is from an [EXTERNAL] sender. Do not click on links or attachments unless you expect them from the sender and know the content is safe. Please contact the Service Desk if you have any concerns regarding this message. Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN == This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message by mistake and delete this e-mail from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- 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
Re: Anyone have SFTP JCL to share?
I believe SFTP is part of SSH, so you would have to install that. It's free from IBM. Then I believe Rocket Software has a freebee that allows you to use SFTP in batch with MVS datasets. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Billy Ashton Sent: Wednesday, April 14, 2021 2:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXT] Anyone have SFTP JCL to share? Please Note: This email is from an [EXTERNAL] sender. Do not click on links or attachments unless you expect them from the sender and know the content is safe. Please contact the Service Desk if you have any concerns regarding this message. Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN == This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this message by mistake and delete this e-mail from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
Here's an example using Co:Z SFTP: //SFTPCONN EXEC PROC=SFTPPROC //SFTPIN DD * user=myuser host=myhost.myco.com lzopts="mode=text" rfile="/app/data/remotefile.txt" . $script_dir/sftp_connect.shCo:Z can be used free subject to the terms of our Community License. Enterprise License and Support agreements are also available. See:https://dovetail.com/support.html On 4/14/21 2:12 PM, Billy Ashton wrote: Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- 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
Re: Anyone have SFTP JCL to share?
On Wed, 14 Apr 2021 19:12:40 +, Billy Ashton wrote: >cases. The file is pretty large, and the support tech said I have to >copy it to OMVS to use SFTP for uploading it. I am not sure I have that >space available on the other side, so I was wondering if anyone here has >a BPX batch job that will send a file to CA or Broadcom from the z/OS >file without having to first copy the file to my Unix filesystem. > Co:Z saved my b.t many times over... •• PROTECTED 関係者外秘 //myuserF JOB 'Jantje','SFTP', // MSGLEVEL=(1,1),CLASS=C,MSGCLASS=X, // NOTIFY= //* // SET ENV=D //* //*--- //* Send a file to the Linux server. - //*--- //* //PUTSFTP PROC LOGIN=,PASS=,SERVER=,INFILE= //* //SAVLOGIN EXEC PGM=COZBATCH,REGION=64M, // PARM='/remoteuser=' //STEPLIB DD DISP=SHR,DSN=COZ.LOADLIB.COZ //SAVEARGS DD DISP=(,PASS),DSN=&SAVEARG //* //SAVPASS EXEC PGM=COZBATCH,REGION=64M, // PARM='/PASSWD_DSN=MY.PDS.CNTL()' //STEPLIB DD DISP=SHR,DSN=COZ.LOADLIB.COZ //SAVEARGS DD DISP=(OLD,PASS),DSN=&SAVEARG //* //SAVIFILE EXEC PGM=COZBATCH,REGION=64M, // PARM='/INFILE=' //STEPLIB DD DISP=SHR,DSN=COZ.LOADLIB.COZ //SAVEARGS DD DISP=(OLD,PASS),DSN=&SAVEARG //* //SAVSRVR EXEC PGM=COZBATCH,REGION=64M, // PARM='/server=' //STEPLIB DD DISP=SHR,DSN=COZ.OADLIB.COZ //SAVEARGS DD DISP=(OLD,PASS),DSN=&SAVEARG //* //RUNSFTP EXEC PGM=COZBATCH,REGION=64M //STEPLIB DD DISP=SHR,DSN=COZ.LOADLIB.COZ //SAVEARGS DD DISP=(OLD,DELETE),DSN=&SAVEARG //STDINDD * # Add CO:Z to the PATH. export PATH=/coz/coz-2.4.3/bin:${PATH} # These are used to read the ssh password from a (secured) dataset export SSH_ASKPASS=read_passwd_dsn.sh export DISPLAY=none ssh_opts="-oBatchMode=no" # allows ssh to use SSH_ASKPASS program ssh_opts="$ssh_opts -oConnectTimeout=60" ssh_opts="$ssh_opts -oServerAliveInterval=60" ##h_opts="$ssh_opts -oStrictHostKeyChecking=no" # accept initial host ke # Invoke the Co:Z sftp client with an in-line batch of commands # Note that "-oBatchMode=no" must be specified before "-b" # since ssh opts are first-sticky cozsftp $ssh_opts -b - $remoteuser@$server <
Re: Anyone have SFTP JCL to share?
The Dovetailed Co:Z SSH and Tectia SSH products have MVS dataset support. Depending on the site’s business usage, the site may be able to use Co:Z for no charge under the Co:Z Community License. -Original Message- >From: Roberto Halais >Sent: Apr 14, 2021 12:23 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Re: Anyone have SFTP JCL to share? > >From what I have tested you must have the file in OMVS in order to use >SFTP. > > >On Wed, Apr 14, 2021 at 3:12 PM Billy Ashton wrote: > >> Hi everyone! I was just moved to support a CA product (I guess that's >> Broadcom now), and have to send in a sensitive file to one of my support >> cases. The file is pretty large, and the support tech said I have to >> copy it to OMVS to use SFTP for uploading it. I am not sure I have that >> space available on the other side, so I was wondering if anyone here has >> a BPX batch job that will send a file to CA or Broadcom from the z/OS >> file without having to first copy the file to my Unix filesystem. >> >> I hope this is clear, and that someone can help me. >> >> Thanks! >> Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
On Wed, 14 Apr 2021 15:23:09 -0400, Roberto Halais wrote: >From what I have tested you must have the file in OMVS in order to use >SFTP. > Yes, but: https://dovetail.com/products/sftp.html And sftp is a thin wrapper about ssh, so consider (much simplified): IEBGNER | ssh -f "cat > target-file" user@host > >On Wed, Apr 14, 2021 at 3:12 PM Billy Ashton wrote: > >> Hi everyone! I was just moved to support a CA product (I guess that's >> Broadcom now), and have to send in a sensitive file to one of my support >> cases. The file is pretty large, and the support tech said I have to >> copy it to OMVS to use SFTP for uploading it. I am not sure I have that >> space available on the other side, so I was wondering if anyone here has >> a BPX batch job that will send a file to CA or Broadcom from the z/OS >> file without having to first copy the file to my Unix filesystem. -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Anyone have SFTP JCL to share?
>From what I have tested you must have the file in OMVS in order to use SFTP. On Wed, Apr 14, 2021 at 3:12 PM Billy Ashton wrote: > Hi everyone! I was just moved to support a CA product (I guess that's > Broadcom now), and have to send in a sensitive file to one of my support > cases. The file is pretty large, and the support tech said I have to > copy it to OMVS to use SFTP for uploading it. I am not sure I have that > space available on the other side, so I was wondering if anyone here has > a BPX batch job that will send a file to CA or Broadcom from the z/OS > file without having to first copy the file to my Unix filesystem. > > I hope this is clear, and that someone can help me. > > Thanks! > Billy > > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- Politics: Poli (many) - tics (blood sucking parasites) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Anyone have SFTP JCL to share?
Hi everyone! I was just moved to support a CA product (I guess that's Broadcom now), and have to send in a sensitive file to one of my support cases. The file is pretty large, and the support tech said I have to copy it to OMVS to use SFTP for uploading it. I am not sure I have that space available on the other side, so I was wondering if anyone here has a BPX batch job that will send a file to CA or Broadcom from the z/OS file without having to first copy the file to my Unix filesystem. I hope this is clear, and that someone can help me. Thanks! Billy -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN