Migration step 19: Tailor Db2 12 catalog: DSNTIJTC
Job DSNTIJTC invokes the CATMAINT utility to migrate the Db2 11 catalog to the Db2 12 catalog, and its successful completion makes Db2 12 available for use.
Before you begin
Ensure that no incompatible applications will interfere with the catalog migration. For details, see Identify applications that are incompatible with online migration.
About this task
By completing this step, you migrate the Db2 catalog and make it available for use in Db2 12.
When you start Db2 12 before you complete this step, Db2 returns various messages because the Db2 12 catalog is not yet available for use. Examples include the following messages and reason codes:
DSNT500I with reason code 00C900A6
- DSNT501I with reason code 00C900A6
DSNL700I with reason code 00C900A6 (if DDF is auto-started). This message might be followed by messages DSNL007I and DSNL008I, indicating that DDF is terminating.
- Abend 04E with reason code 00E70014 (during DDL registration)
-DSN1 DISPLAY DATABASE(*) SPACENAM(*) RESTRICT
DSNTIJTC contains the following job steps:
- DSNTITC
- Job step DSNTITC, which creates new catalog and directory objects, adds columns to existing catalog tables, and creates and updates indexes on the catalog tables to accommodate new Db2 12 objects. All IBM-supplied indexes are created or updated sequentially during the execution of this step. At migration to Db2 12 this job step updates that catalog level to V12R1M500.
CHKTITC
Job step CHKTITC checks the return code of the CATMAINT utility. If the return code is 8 or greater, the job executes the job steps that follow CHKTITC.
- DSNTIRI
- Job step DSNTIRI executes only when job step DSNTITC terminates abnormally or with a return code of 8 or greater. DSNTIRI rebuilds catalog indexes that were placed in REBUILD-pending status during execution of DSNTITC.
DSNTITD
Job step DSNTITD executes only when job step DSNTITC terminates abnormally or with a return code of 8 or greater. DSNTITD issues the DISPLAY BLOCKERS command with the DETAIL option and displays information about locks or claims that might have interfered with the catalog migration.
Procedure
To complete the tailoring of the Db2 catalog:
Results
The catalog is now tailored at catalog level V12R1M500, which supports Db2 12 function level 100, function level 500, and function level 501. For more information about function levels and catalog levels in Db2 12 continuous delivery, see Function levels and related levels in Db2 12.
What to do next
- If you received message DSNL700I with reason code 00C900A6 and DDF terminated after you started Db2 12 for the first time, start DDF manually after you run DSNTIJTC.
- If the CATMAINT utility jobs from the previous step placed any altered Db2 catalog objects in REORG-pending (AREO*) advisory status, run the REORG utility for those objects.