Allocating the Restructure Activity data set for the Prepare function
The Prepare function creates and initializes this data set. In addition, the Restructure Activity data set is used as output from the Shadow Initialization, Restructure, and Restart functions:
Shadow Initialization records information about the primary shadow and secondary shadow cluster definitions and initializations.
Restructure reads the data set to determine the current status of each area that is processed and then records information about the database restructure process.
Restart reads the data set to determine the current status of each processed area and then records information about the database restructure process.
The Restructure Activity data set is used as input to the Status and Backout functions:
Backout reads the data set to determine the current status of each processed area and then restores the database to its original state.
Status reads the data set and generates a report that shows the current status of each processed area.
When processing the Prepare function, the Restructure Activity data set can be supplied in the JCL, or it can be accessed by using dynamic allocation:
For JCL allocation, you can supply the Restructure Activity data set DD statement in the JCL and then specify the DDNAME keyword with the optional ACTIVITY_FILECTL subcommand.
For dynamic allocation, you can specify the DSNAME keyword with the optional ACTIVITY_FILECTL subcommand. You can also use the DISP keyword to control the allocation and disposition of the data set. The DISP=USE status parameter indicates conditional allocation. If the data set does not exist, it is created (as if DISP=NEW had been specified). If the data set already exists, it is reallocated (as if DISP=OLD had been specified). If CATLG is specified, the normal and conditional parameters are changed from CATLG to KEEP.
In addition to the DISP keyword, the following keywords can also be used to control the allocation of a data set:
AVGREC
DATACLAS
EXPDT
LIKE
MGMTCLAS
RETPD
SPACE
STORCLAS
UNIT
VOLCNT
VOLSER
If you do not specify the ACTIVITY_FILECTL subcommand, Fast Path Online Restructure/EP automatically allocates the Restructure Activity data set by using the Restructure Plan data set as a model. It uses default parameters (DSNAME, DISP, UNIT, and SPACE) and the data set name you specified for the PLAN_FILECTL by appending 'ACT' to the end of the data set name. For example, if the name ends with .PLAN, Fast Path replaces it with '.ACT'.
Comments
Log in or register to comment.