Hello, I new to the forum, can anyone help me with an issue using COZBATCH.
This is a mainframe to mainframe FTP or LPAR to LPAR FTP
Unable to open the RFILE Failure
File is pre-allocated on the remote LPAR
Receiving the following error.
ZosSettingsÝI¨: Transfer options: gdgnt,mode=binary
ZosDatasetÝI¨: Opening dataset MMITMMO.DCMOVE.DCOLLECT.DASD.OMAHA2 for read with
CoZBatchÝT¨: 152 bytes written to DD:STDERR
CoZBatchÝT¨: fd_cerr selected for reading
Ý66.193¨ remote open("//MMITMMO.DCMOVE.DCOLLECT.DASD.DWB"): Failure
ZosDatasetÝI¨: Closing dataset //MMITMMO.DCMOVE.DCOLLECT.DASD.OMAHA2 - 0 records
//SFTPIN DD *
host=10.112.30.15
user=V612396
pwdsn='V612396.TEST.JCL(PW1)'
lfile="//MMITMMO.DCMOVE.DCOLLECT.DASD.OMAHA2"
rfile="//MMITMMO.DCMOVE.DCOLLECT.DASD.DWB"
sftp_opts="$sftp_opts -oPubkeyAuthentication=no"
. $script_dir/sftp_put.sh
Thank you,
Norm
LPAR to LPAR FTP / RFILE Open Failure
Re: LPAR to LPAR FTP / RFILE Open Failure
Please note: This is really a question about Co:Z SFTP, so in the future use the Co:Z SFTP forum for this.
This error:
remote open("//MMITMMO.DCMOVE.DCOLLECT.DASD.DWB"): Failure
means that the remote server returned a failure to the open request for the file (data set).
It probably means that the remote server is not running Co:Z SFTP (even if it is installed, it might still be running IBM's sftp server on z/OS).
This error:
remote open("//MMITMMO.DCMOVE.DCOLLECT.DASD.DWB"): Failure
means that the remote server returned a failure to the open request for the file (data set).
It probably means that the remote server is not running Co:Z SFTP (even if it is installed, it might still be running IBM's sftp server on z/OS).
-
- Posts: 3
- Joined: Tue Aug 08, 2017 8:23 am
Re: LPAR to LPAR FTP / RFILE Open Failure
Thank you for your response.
Yes, I suspected that was the issue. but the following message was generated.
Which lead me to believe it was not using IBM SFTP.
Connect using SSH_ASKPASS, password will be read from V612396.TEST.JCL(PW1)...
Executing: /ifox/coz/bin/cozsftp -oBatchMode=no -oConnectTimeout=60 -oServerAli
1 -oStrictHostKeyChecking=no -oPubkeyAuthentication=no -b- 'V612396@10.112.30.15
Thanks,
Norm
Yes, I suspected that was the issue. but the following message was generated.
Which lead me to believe it was not using IBM SFTP.
Connect using SSH_ASKPASS, password will be read from V612396.TEST.JCL(PW1)...
Executing: /ifox/coz/bin/cozsftp -oBatchMode=no -oConnectTimeout=60 -oServerAli
1 -oStrictHostKeyChecking=no -oPubkeyAuthentication=no -b- 'V612396@10.112.30.15
Thanks,
Norm
Re: LPAR to LPAR FTP / RFILE Open Failure
I mean that the *server* that you are talking with is running IBM sftp, so that it does not support //DSN syntax for files.
-
- Posts: 3
- Joined: Tue Aug 08, 2017 8:23 am
Re: LPAR to LPAR FTP / RFILE Open Failure
Issue resolved. I was invoking the IBM FTP.
I commented out IBM FTP an uncommented COz FTP.
Recycled my SSHD task.
Job was able to open z/OS dataset on the remote system
Thank you for you assistance.
Norm
I commented out IBM FTP an uncommented COz FTP.
Recycled my SSHD task.
Job was able to open z/OS dataset on the remote system
Thank you for you assistance.
Norm