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
IF &DSORG = 'VS' THEN
SET &SG = 'FDRVSAM'
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 *
CA Allocate will intercept this allocation and select a volume from the storage group set in the ASR (FDRVSAM in this example).
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'.