Using the RESETPAGE function

We can use the RESETPAGE function to update a set of consistent page sets so that they can be used with a set of new (clean) BSDS and log data sets to start the queue manager. You would only have to do this if both copies of the log have been lost or damaged; we can restart from backup copies of page sets (and accept the resulting loss of data from the time the copies were made), or from your existing page sets.

In this situation, use the RESETPAGE function on all the page sets of the affected queue manager. You must also create new BSDS and log data sets.

Note:
Do not use the RESETPAGE function on a subset of the page sets known to WebSphere MQ.

If you run the RESETPAGE function against any page sets, but do not provide clean BSDS and log data sets for the queue manager, WebSphere MQ attempts to recover the logs from RBA zero, and treats the page sets as empty. For example, the following messages would be produced if you attempted to use the RESETPAGE function to generate page sets zero, 1, 2, and 3 without providing a clean set of BSDS and log data sets:

CSQI021I +CSQ1 CSQIECUR PAGE SET 0 IS EMPTY. MEDIA RECOVERY STARTED
CSQI021I +CSQ1 CSQIECUR PAGE SET 1 IS EMPTY. MEDIA RECOVERY STARTED
CSQI021I +CSQ1 CSQIECUR PAGE SET 2 IS EMPTY. MEDIA RECOVERY STARTED
CSQI021I +CSQ1 CSQIECUR PAGE SET 3 IS EMPTY. MEDIA RECOVERY STARTED

Page set management (RESETPAGE)

>>-RESETPAGE--+-------+---------------------------------------->< '-FORCE-'