Copying a page set and resetting the log (RESETPAGE)
The RESETPAGE function is similar to the COPYPAGE function except that it also resets the log information in the new page sets. RESETPAGE lets you restart the queue manager from a known, valid set of page sets, even if the corresponding log data sets have been corrupted.
The source page sets for RESETPAGE must be in a consistent state. They must be either:
- Page sets that have been through a successful queue manager shutdown using the WebSphere MQ command STOP QMGR.
- Copies of page sets that have been through a successful stop.
The RESETPAGE function must not be run against copies of page sets made using fuzzy backup (see Method 2: Fuzzy backup), or against page sets that are from a queue manager that has terminated abnormally.
RESETPAGE either:
- Copies page sets on all data sets referenced by DDnames CSQS0000 through CSQS0099 to new data sets referenced by DDnames CSQT0000 through CSQT0099. If you use this function, modify the page set definition in the started task procedure to reflect the change of the name of the data set on which the new page set resides.
- Resets the log information in the page set referenced by DDnames CSQP0000 through CSQP0099.
For more information, see Managing page sets.