DSCHANGE command for FRPBATCH
Use the DSCHANGE FRPBATCH command to change the status of an IMSRSC repository data set pair to either DISCARD or SPARE.
Subsections:
Syntax
Keywords
- REPOSITORY()
- This is a required keyword. The name of the repository to be changed. "CATALOG" is reserved and cannot be changed.
- RDS(1 | 2 | 3)
- This is a required keyword. A number in the range of 1-3 to identify
the repository data set pair to which the requested DSCHANGE action
is to be applied.
- 1
- The primary repository data set pair (COPY1).
- 2
- The secondary repository data set pair (COPY2).
- 3
- The spare repository data set pair (SPARE).
- ACTION(SPARE | DISCARD)
- This keyword is required. The action to be applied to the repository
data sets that are specified in the RDS parameter.
- SPARE
- Request to change the repository data set pair disposition to SPARE status. The SPARE action can only be executed against a repository data set pair with DISCARD status. The SPARE repository index data sets (RIDs) and the SPARE repository member data sets (RMDs) must be empty.
- DISCARD
- Request to change the repository data set pair disposition to DISCARD status. The DISCARD action can be executed against either of the active repository data sets (the COPY1 or COPY2) or the SPARE repository data sets. A data set must be set to DISCARD status before a new data set can be defined. The repository must be in a stopped state for this request to process the DISCARD action against COPY1 or COPY2. The repository is not required to be stopped to process the DISCARD against the SPARE.
