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

dennis.ro...@aig.com | www.aig.com 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ron Thomas
Sent: Tuesday, May 02, 2017 1:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
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 
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

Reply via email to