Renaming Db2 active log data sets

When you rename system data sets, you might also want to rename the log data sets.

About this task

To rename Db2 active log data sets:

Procedure

  1. Stop Db2 in a consistent state.
  2. Create a full system backup so that you can recover from operational errors.
  3. Delete the reusable active log data sets with IDCAMS, but keep the current active log.
  4. Define a new set of active log data sets with IDCAMS.
  5. Execute the change log inventory utility to remove names of deleted active log data sets and to define the new active log data set names in the BSDS.
  6. Start and use Db2 normally.

Results

When the current active log is archived and becomes reusable, you can delete it.