When we tried to transfer the TAPE dataset xxxxxxx.yyyyyyyy(0) using FTP, the job failed with the following messages:
IKJ56221I DATA SET xxxxxxx.yyyyyyyy NOT ALLOCATED, VOLUME NOT AVAILABLE+
IKJ56221I VOLUME NECESSARY TO SATISFY YOUR REQUEST NOT ON SYSTEM, AND CANNOT BE MOUNTED
DatasetHandlerÝE¨: BPXWDYN allocation failed S99ERROR=0x0218 S99INFO=0x0000
DatasetHandlerÝE¨: BPXWDYN command was: "alloc fi(SYS00020) reuse msg(2) da('Ixxxxxxx.yyyyyyyy(0)') gdgnt shr"
DatasetHandlerÝE¨: Dataset xxxxxxx.yyyyyyyy(0) open error: EDC5000I No error occurred. (errno2=0x0594003D)
DatasetHandlerÝE¨: __amrc last_op=604, error=0x594003D, msg=
How can this problem be resolved?
Release : 14.0
The tape to be processed needs to be allocated and mounted first before FTP can process (READ or WRITE) it. This is NOT a problem with CA1.
FTP can read tape data; however, this will require that the tape drive/data set be allocated prior to actual processing, and this is accomplished by specifying a DD card referencing the data set and tape drive (unit) such that JES allocation occurs before tape processing. Also, this will require the FTP GET or PUT command to reference the DD name instead of the data set name (such as: GET //DD:TAPEDSN <remote.file.name>, where a TAPEDSN DD is added to the JCL which specifies the tape unit, tape data set, etc. which will be allocated).
IBM documentation describing how to allocate tapes for FTP processing of tape data sets can be found here.
IBM documentation: Batch FTP jobs fail to allocate tape data set