we use COZBATCH for mainframe to mainframe sftp. Both mainframes have COZBATCH installed. Logon option is password. the batch job on MVS runs ok, however the file is not cataloged on the receiving site. there is a message in the log, which I don't know how to interpret:
cozsftp> lzopts mode=text
mode=text
cozsftp> zopts recfm=fb,lrecl=112,blksize=11200,space=trk.5.5,unit=sysda
Command unavailable: remote server is not Co:Z sftp
It looks like OMVS setting has an error. What could be a possible reason for this message. Any help is greatly appreciated.
Mainframe to Mainframe SFTP issue
Re: Mainframe to Mainframe SFTP issue
The zopts command sets Co:Z options on the remote system. This requires that the sshd sftp subsystem running on the remote is Co:Z sftp-server, and that your userid is able to use it. You should check the remote system to ensure that the subsystem was set up properly (Simply installing the Co:Z package on z/OS will not automatically do this, you need to configure sshd).
See the instructions here for details: http://dovetail.com/docs/sftp/config.html#config_server
See the instructions here for details: http://dovetail.com/docs/sftp/config.html#config_server
Re: Mainframe to Mainframe SFTP issue
Thank you so much. Updating configuration files fixed the problem