Dynamic multivolume data set extent consolidation (X37REORG) used with StopX37/II
The X37REORG utility works in conjunction with the SPACVOLA function and DFDSS.
The utility takes a data set that has been extended to multiple volumes by SPACVOLA processing and dynamically copies the data set to a single volume. The process is as follows:
- When SPACVOLA dynamically extends a data set to an additional volume, the REORG SPACVOLA RLST parameter is interrogated to see whether the user specified REORG=YES. If REORG=YES was specified, SPACVOLA processing issues a z/OS START command to start the Started Task that is indicated by the REORG_PROC SPACVOLA RLST parameter.
The first step in the Started Task (the X37REORG step) performs dynamic variable substitution on the DFDSS control cards that are found in the MainView SRM PARMLIB member SMRORG xx . For this member, xx is the suffix that is found in the first operand of the REORG_NSMS or the REORG_SMS SPACVOLA RLST parameter for non-SMS and SMS reorganizations, respectively. The dynamic variable substitution replaces X37REORG variable names in DFDSS control cards with data that is specific to the reorganization job that is being processed.
For example, SPACVOLA processing passes the data set name that needs to be reorganized as a parameter on the z/OS START command, and the X37REORG facility replaces any occurrences of the variable %DS in the DFDSS control cards with the data set name that was passed.
- The second step in the Started Task (the DFDSS step) uses the updated control cards to copy the data set back to a single volume. You have complete control over the DFDSS control cards and can use any DFDSS functions that are available for copying the data set. For example, you decide whether the data set is renamed during the copy operation or whether the old copy of the data set is deleted.
For more information about X37REORG, see: