The file used to get FTPed is on Tape. But SFTP is not able to read the file and showing below message.
.I.: Opening dataset MY.DATASET for read with options: shr
DATA SET MY.DATASET NOT ALLOCATED, VOLUME NOT AVAILABLE+
VOLUME NECESSARY TO SATISFY YOUR REQUEST NOT ON SYSTEM, AND CANNOT BE MOUNTED
I created this dataset again on SYSDA and SFTP worked fine. One way is that I move the Tape dataset to a workfile SYSDA dataset just before SFTP and SFTP the SYSDA dataset. Just wanted to know if there is any option available for Tape dataset in SFTP where Volume will not be checked. I did google but couldn't find, help appriciated.
Joined: 06 Jun 2008 Posts: 8117 Location: East Dubuque, Illinois, USA
I Googled z/os sftp tape and one of the first hits returned contains this (emphasis added by me)
SFTP (Secure FTP) is a File Transfer Protocol (FTP) that allows data to be transferred securely. On z/OS, SFTP is a utility that runs under the Secure Shell (OpenSSH) of Unix System Services (USS). OpenSSH is a secure connection between a client and a server. All SFTP files are transferred to and from a UNIX directory. An additional step is required to copy the file between the UNIX directory and a z/OS data set.