Using DSRSEXIT to manage VSAM data set redefinition
REORG PLUS obtains information about the object from the Db2 and VSAM catalogs and passes this information to the exit in REXX variables. REORG PLUS redefines the objects by using the values that you set in the exit. Based on the information passed, you can
- Change the size of Db2 virtual sequential access method (VSAM) data sets by changing the primary and secondary allocations for the new data sets within the exit (see Resizing Db2 objects)
- Update the Db2 catalog with the changed values for use with subsequent allocations unless you indicate otherwise (see Resizing Db2 objects)
- Selectively tell REORG PLUS to specify REDEFINE NO for an object (see Setting REDEFINE NO)
- Specify the order of the storage group volumes to use for each object (see Using the DSRSEXIT user exit to order storage group volumes)
- Restrict the volume list to a subset of the original storage group volume list (see Using the DSRSEXIT user exit to order storage group volumes)
- Add the DATACLAS, MGMTCLAS, and STORCLAS for storage groups (see Using the DSRSEXIT user exit to add SMS classes)
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*