Newbie question.
Can I directly sftp an MVS dataset from a client that is using z/OS Open/sFTP to an MVS dataset on a Server that is using z/OS COZsFTP ?
Example?
Thanks,
Dave
Server with COZSFTP and z/OS Client w/o COSZSFTP
Re: Server with COZSFTP and z/OS Client w/o COSZSFTP
It depends on what you mean.
A remote SSH/SFTP client can use Co:Z SFTP Server to read and write data sets on the *server*.
Therefore an IBM z/OS OpenSSH sftp client can connect to Co:Z SFTP server and read and write datasets on the server, but the IBM sftp client cannot read or write datasets on the client system.
A remote SSH/SFTP client can use Co:Z SFTP Server to read and write data sets on the *server*.
Therefore an IBM z/OS OpenSSH sftp client can connect to Co:Z SFTP server and read and write datasets on the server, but the IBM sftp client cannot read or write datasets on the client system.
Re: Server with COZSFTP and z/OS Client w/o COSZSFTP
I wasn't clear on my question.
The Open/sftp can only ftp from/to a Unix file on USS....but COZsftp can ftp directly to an MVS dataset (under the covers it pipes the data through USS and into an MVS dataset).
So my question is....does that "direct to MVS" sftp required that both ends are running the COZsftp ?? Or can the Server be COZsFTP and the client be Openssh ??
Looking for examples of that, if it's possible....
Thanks,
Dave
The Open/sftp can only ftp from/to a Unix file on USS....but COZsftp can ftp directly to an MVS dataset (under the covers it pipes the data through USS and into an MVS dataset).
So my question is....does that "direct to MVS" sftp required that both ends are running the COZsftp ?? Or can the Server be COZsFTP and the client be Openssh ??
Looking for examples of that, if it's possible....
Thanks,
Dave
Re: Server with COZSFTP and z/OS Client w/o COSZSFTP
The side that is running Co:Z SFTP can directly read and write z/OS data sets, the side that is running IBM sftp cannot.
So a client running IBM sftp:
So a client running IBM sftp:
Code: Select all
zos> sftp myco.com
sftp> ls /+recfm=fb,lrecl=80,space=cyl.2.1 # this works if server is running Co:Z SFTP
sftp> put my.zfs.file //HLQ.MY.DSN