SFTP from z/OS HFS to remote server

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
bmeansdfw
Posts: 2
Joined: Wed Dec 17, 2014 3:18 pm

SFTP from z/OS HFS to remote server

Post by bmeansdfw »

Our installation uses Co:Z sftp (via cozbatch) in many instances; however, in all cases it is used to transfer from standard mainframe files to a remote host using the put command.

I have a set of files on a z/OS HFS filesystem, so I do not want to append directories or files with //.. I just want to do normal file puts from a local HFS directory.

Can someone help direct me on how to configure Co:Z SFTP (using cozbatch) to do this? The reference on transferring POSIX files seems to apply but I cannot tell how to make this work.

Many thanks in advance.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: SFTP from z/OS HFS to remote server

Post by dovetail »

I'm not sure what problem you are encountering. You simply need to use /file/path names rather than //data.set.names.

If this doesn't work, please post your example (input and output).
Post Reply