Before dynamically adding a new volume to a data set, the SRS ADDVOL facility performs checks to ensure data integrity. These checks are listed in the previous section. Conditions do exist where specific applications can perform the ADDVOL function without losing data integrity.
Assume an application has failed one of the integrity checks. To determine whether the application can use a multivolume data set, test the application with a multivolume file, and ensure that data is written to both volumes. If the application runs successfully, an ACC rule can be added to bypass the integrity check for the application. Examine the previous section for the symbolic names used to bypass the integrity checks.
SORT programs provide an excellent example. While SORT uses EXCP processing, the utility supports a multivolume data set for the SORTOUT DD statement. To allow SRS to recover space problems with SORTOUT files, add the following rule near the top of the rules language. Note: SORTWKnn cannot use multivolume files.
DEFRULE SRSEXCP CONTINUE(NEXTIF) IF &PGM = (SORT,ICEMAN)
&DDNAME = SORTOUT THEN SET SKIP_EXCP = YES