Migration step 18: Tailor Db2 13 catalog: DSNTIJTC
Job DSNTIJTC invokes the CATMAINT utility to migrate the Db2 12 catalog to the Db2 13 catalog, and its successful completion makes Db2 13 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 13.
When you start Db2 13 before you complete this step, Db2 returns various messages because the Db2 13 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 checks the eligibility of the catalog and then updates it to catalog level V13R1M100. (When you run DSNTIJTC at other times, this job step might create new catalog and directory objects, add columns to existing catalog tables, or create and update indexes on the catalog tables for new objects. However, no such changes occur for the initial catalog level at migration to Db2 13.)
- 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 any catalog indexes that are currently in a REBUILD-pending status.
- 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 V13R1M100, which supports Db2 13 function level 100.
What to do next
- If you received message DSNL700I with reason code 00C900A6 and DDF terminated after you started Db2 13 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.