You are correct! Al Nims University of Florida
-----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Monday, April 24, 2017 2:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP Failing with space issues On Mon, Apr 24, 2017 at 1:20 PM, Nims,Alva John (Al) <ajn...@ufl.edu> wrote: > I agree with Walt, you are using sftp, which is a different beast that > ftp and as far as I know, yes I have not worked with sftp, just had to > do a cursory look at it recently, but have not gone down the road, > sftp does NOT support MVS data sets directly, it only works with zFS > (USS), so you have to write to zFS first and then you can do a "!cp > /<unix file> //'CH2ICST.X.Y.R1'" (without the double quotes) to get it to MVS. > NO! You can NOT do a "!cp ..." to copy the file on the _server_ to a dataset on the _server_. That is because the "!..." sftp command runs the given command _ON THE CLIENT_ (i.e. your machine). Otherwise, some clever person could possibly do untold damage by running some arbitrary command that they just ftp'd to the server on the server. The thought makes me shudder. > > Al Nims > University of Florida > > -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown ---------------------------------------------------------------------- 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