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
- Run the log print utility CSQJU004 to record the log data set information. This information is needed later.
-
We can either:
- run DSS backup and restore with rename on the log and BSDS data sets to be renamed, or
- use AMS DEFINE and REPRO to create the HLQ data sets and copy the data from the old data sets.
- Modify the MSTR and CHIN procedures to point to the new data sets.
- Delete the old log information in the new copy of the BSDS using CSQJU003.
- 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.
- 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.