That's a command when you're using the Co:Z Toolkit's sftp server. No zOS shop should be without it.

Mark Jacobs

Roach, Dennis <mailto:[email protected]>
May 2, 2017 at 2:32 PM
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] | www.aig.com

-----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


Please be alert for any emails that may ask you for login information or directs you to login via a link. If you believe this message is a phish or aren't sure whether this message is trustworthy, please send the original message as an attachment to '[email protected]'.

Ron Thomas <mailto:[email protected]>
May 2, 2017 at 2:07 PM
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


Please be alert for any emails that may ask you for login information or directs you to login via a link. If you believe this message is a phish or aren't sure whether this message is trustworthy, please send the original message as an attachment to '[email protected]'.


--

Mark Jacobs
Time Customer Service
Global Technology Services

The standard you walk past is the standard you accept.
Lt. Gen. David Morrison


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to