Renaming Db2 system data sets
Occasionally, you might want to rename the Db2 system table spaces
Procedure
To rename Db2 system data sets:
- Stop Db2 in a consistent state.
- Create a full system backup so that you can recover from operational errors.
- Execute the change log inventory utility with NEWCAT.
- Rename the BSDS and all Db2 directory and catalog table spaces and index spaces with IDCAMS.
- Reassemble DSNZPARM to redefine the high-level qualifier for the system table spaces.
- Update the BSDS name in the Db2 startup procedure.
- Start Db2.
- Drop and re-create the work file database.
- Optionally use the ALTER command for table spaces in DSNDB04 and user databases.