DSRSEXIT
You can use this exit to
Resize the Db2 VSAM data sets by changing the value of the primary and secondary allocation quantities, and update the Db2 catalog with the changed quantity values for use with subsequent allocations
REORG PLUS issues an SQL ALTER TABLESPACE or ALTER INDEX statement to update the Db2 catalog with the changed quantity values for use with subsequent allocations. You can modify a variable in your exit to prevent REORG PLUS from issuing this command.
- Override REDEFINE YES with REDEFINE NO selectively for an object that meets your criteria
- Order the volumes in the current storage group for each object
- Restrict the volume list that you return to REORG PLUS to a subset of the original storage group volume list
Add SMS classes
If no SMS classes exist in the DSNZPARMs or storage-group definition, you can add the classes by using the DSRSEXIT user exit. However, you cannot change existing specified SMS classes by using the DSRSEXIT user exit.
You can use the DSRSEXIT user exit only for storage-group-defined objects. If you want to alter the size of VCAT-defined objects, use the SYSIDCIN data set. For more information, see SYSIDCIN data sets in REORG PLUS.
For details about this user exit, see REORG PLUS user exits.
Restriction
When invoking DSNUTILB, REORG PLUS ignores this option.
Specifying the default
You can specify the default for the DSRSEXIT command option in your installation options module by using the DSRSEXIT installation option. REORG PLUS was shipped with a default value of (NONE,REXX) for this option. The command overrides the default that is in the installation options module.
exitName
The exitName is the name of the user-written exit.
NONE
Specify NONE in place of an exit name to override a default exit name in your installation options module. This tells REORG PLUS that you do not want to call a DSRSEXIT user exit.
programLanguage
The exit that you specify for DSRSEXIT must be written in REXX (the default). If you specify any other language, your user exit might not operate correctly.