CA Allocate Support for FDR Multi-Volume VSAM

Document ID : KB000027852
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

What is needed for CA Allocate to support re-direction of multi-volume VSAM allocations that are initiated by the Innovation Software product FDR?

Instructions:

To have CA Allocate r12.5 (and higher) support multi-volume VSAM allocations from FDR, do the following:

  1. Set PLSOPT12 (Y) in the VKGPARMS member of your CA Allocate parmlib control file.
  2. Activate the API within the FDR product (see the CA Allocate User Guide in the 'PLSOPT12' section for the steps required).
  3. Add code to your ASR similar to this:
IF &VAMENVIR = 'ALLOC' THEN
IF &FDR = 'Y' THEN
DO
IF &DSORG = 'VS' THEN
SET &SG = 'FDRVSAM'
END

Note that even though this is a 'VSAM' allocation the FDR-API requires it to be re-directed in the 'ALLOC' environment.
That's it! Now, when you submit a FDR copy job similar to this:

//DSCOPY   EXEC PGM=FDRCOPY 
//SYSIN DD *
COPY TYPE=DSF
SELECT CATDSN=A.MULTI.VOLUME.VSAM.FILE,
NVOL=(VOL1,VOL2,VOL3,VOL4),
NEWI=...OUTCOPY

CA Allocate will intercept this allocation and select a volume from the storage group set in the ASR (FDRVSAM in this example).

Additional Information:

For additional information on the CA Allocate support of the FDR API, please reference the CA Allocate User Guide in the section in Chapter 2 entitled 'FDR Support'.