Change the high-level qualifier (HLQ) for the logs and BSDS

Use this topic to understand the procedure required to change the high-level qualifier (HLQ).


Before starting

We must end the queue manager normally before copying any of the logs or data sets to the new data sets. This is to ensure that the data is consistent and no recovery is needed during restart.


About this task

This task provides information about how to change the HLQ for the logs and BSDS. To do this, follow these steps:


Procedure

  1. Run the log print utility CSQJU004 to record the log data set information. This information is needed later.
  2. We can either:
    1. run DSS backup and restore with rename on the log and BSDS data sets to be renamed, or
    2. use AMS DEFINE and REPRO to create the HLQ data sets and copy the data from the old data sets.

  3. Modify the MSTR and CHIN procedures to point to the new data sets.
  4. Delete the old log information in the new copy of the BSDS using CSQJU003.
  5. Define the new log data sets to the new BSDS using the NEWLOG function of CSQJU003. Keep all information about each log the same, apart from the HLQ.
  6. The new BSDS should reflect the same information that was recorded for the old logs in the old BSDS. The HLQ should be the only thing that has changed.


What to do next

Compare the CSQJU004 output for the old and new BSDS to ensure that they look EXACTLY the same (except for the HLQs) before starting the queue manager. Note: Care must be taken when performing these operations. Incorrect actions might lead to unrecoverable situations. Check the PRINT LOG MAP UTILITY output and make sure that all the information needed for recovery or restart has been included. Parent topic: Change the BSDS