VSAM Record Level Sharing (RLS) was introduced with DFSMS 1.3 and is typically used by CICS Transaction Servers. It allows the sharing of VSAM data sets among multiple applications running in multiple CICS regions that reside in a parallel sysplex.
Starting with ACC/SRS release 7.1.5, SRS activates a new interface to the new VSAM EOV routines. The new interface allows SRSVSAM EOV recovery in z/OS 1.3 and above systems. Additionally, the new VSAM EOV modules and SRS interface allows the product to perform ADDVOL processing on Record Level Sharing VSAM files.
By default, VSAM RLS files are not candidates for SRS ADDVOL recovery. The following DEFENV must be added to the rules language to allow the product to examine VSAM RLS data sets.
DEFENV ADDVOL PROCESS(RLS)
RLS files are typically allocated to multiple jobs. To allow SRS ADDVOL recovery, the DEFPROD ADDVOL(VSAM(INPUTCHECK)) parameter must be used in conjunction with the SKIP_ENQ symbolic field. After recovery, any other users allocated to the VSAM file will have the new volume dynamically added to the data set. The SKIP_ENQ symbolic field should only be specified for VSAM allocations. The following cards should be added to the rules language.
DEFPROD ADDVOL(VSAM(INPUTCHECK)) DEFRULE CHKRLS CONTINUE(NEXTIF)
IF &DSORG = VS &DSTYPE_RLS = YES
THEN SET SKIP_ENQ = YES
The above rules only bypass the validation checks that would normally stop recovery on RLS files. Your rules must still have recovery logic. For example:
DEFRULE CICSRLS
IF &JOBNAME = CICS* &DSTYPE_RLS = YES
THEN SET DISKPOOL=RLSPOOL DEFPOOL RLSPOOL ADDVOL(YES)