CA Allocate Support for FDR Multi-Volume VSAM
search cancel

CA Allocate Support for FDR Multi-Volume VSAM

book

Article ID: 27852

calendar_today

Updated On:

Products

Allocate DASD Space and Placement

Issue/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?

Environment

Release: ESBALQ99000-12.5-CA-Allocate-DASD Space and Placement-with Quota Manager-Extende
Component:

Resolution

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'.