Fast Recover for Db2 for z/OS (PFR) RECOVER INDEX using the OBIDXLAT and FULLDSN keywords may fail with
the following messages during allocation of stacked image copies:
PFR0622I - UTILITY-ID: xx.xxxxxxx HAS BEEN ADDED
FOR UTILITY: PFR
STATEMENT# : 2
CHECKSUM : 0
RETURN CODE = 4, REASON CODE = 0220
This Error has Occurred in CSECT - GRA@CCPY
PFR0048E - ALLOCATE FAILED FOR IMAGE COPY
'dsname'
To resolve this problem, utilize one of the following circumventions:
1. Separate the recovery into multiple steps with each RECOVER statement into its own JCL step. By splitting the process,
the tape volume is deallocated at the end of each step, allowing the subsequent steps to successfully allocate
the next dataset in the stack.
2. Modify the current Fast Recover syntax to use the FULLDD keyword instead of FULLDSN. This requires manual definition of the image copy
DD statements for the image copies in the JCL. This approach bypasses the dynamic allocation limitations encountered with FULLDSN
when working with stacked tape volumes.