It appears that the mainframe is running Dovetails Co:Z SFTP product (open source) that allows sftp into native MVS without having to create back in scripts to copy from USS to MVS after going into IBM native SSH.
Coz FTP runs on top of IBM native openSSH to allow this. The commands look good and should work, if the above is the case. https://dovetail.com/products/sftp.html Thanks, Craig Pace Director Business Solutions, Information Technology Fruit of the Loom, Inc.® Direct: (270) 935-4397 Main: (270) 781-6400 ext 4397 Cell: (270) 991-7452 Fax: (270) 438-4430 E-mail: [email protected] Mailing Address: One Fruit of the Loom Drive PO Box 90015 Bowling Green, KY 42102-9015 Physical Address: 675 Hennessy Way Bowling Green, KY 42101-7122 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Roach, Dennis Sent: Tuesday, May 2, 2017 13:33 To: [email protected] Subject: [EXTERNAL] Re: SFTP From Linux to z/OS This makes no sense. ls lists the directory at the remote end. The ls command you provided looks like it should be a site command, providing lrecl, recfm, and space information. The // in the put command directs the output to an MVS file instead of USS. Dennis Roach, CISSP, PMP AIG IAM Platform Administration | Identity & Access Management 2929 Allen Parkway, America Building, 3rd Floor | Houston, TX 77019 Phone: 713-831-8799 [email protected] | https://na01.safelinks.protection.outlook.com/?url=www.aig.com&data=02%7C01%7CCraig.Pace%40FOTLINC.COM%7Cd0b1a80e098847b4ec0908d49189ab32%7C0d32279fb86a46bcaf3c48ad3cf3caf9%7C0%7C0%7C636293467850898806&sdata=UvRJUaf2p51bAfHHWqzfksLgivN92RVAzforQ7L99cM%3D&reserved=0 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Ron Thomas Sent: Tuesday, May 02, 2017 1:07 PM To: [email protected] Subject: SFTP From Linux to z/OS Hi . One of my colleagues told me from Linux script ,we can do SFTP using the below file allocation . Just wanted to know whether this possible ? As per my understanding this has no significance ? Also, whether from virtual machine we can put to a tape GDG file ? ls /+mode=text,lrecl=3000,recfm=vb,space=cyl.100.100 put /pas/input/rtb/one.txt //'PCICST.FXIN.MAXRTCRO.OT(+1)' Thanks Ron T ---------------------------------------------------------------------- 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 ________________________________ This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you have received this communication in error, please notify the sender immediately and then destroy any copies of it. ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
