Installation step 5: Define system data sets: DSNTIJIN

Use job DSNTIJIN to define the VSAM and non-VSAM data sets for Db2.

Before you begin

Before you define the system data sets, ensure that you have defined an SMS environment for data sets that are associated with the Db2 catalog and directory. Data sets for the Db2 catalog and directory are managed by Db2 and must be SMS-managed. The SMS environment that you use for Db2 catalog and directory data sets must be established before you begin installation or migration to Db2 12. The SMS environment must include a data class for allocating the data sets in extended format and using extended addressability.

Procedure

To define system data sets:

  1. Check the DEFINE CLUSTER statements in job DSNTIJIN to ensure that they allocate adequate disk space for your system.
    Recommendation: For recovery purposes, place system data sets such as the Db2 recovery log and the VSAM catalog on different disk volumes. Because these data sets are used frequently, do not migrate them by using DFSMShsm.
  2. Run job DSNTIJIN.

    If DSNTIJIN runs successfully, it produces return codes of 0 for all DEFINE statements and steps. Check any VSAM messages carefully.

  3. If job DSNTIJIN fails or abends, complete the following steps:
    1. Remove the z/OS® catalog delete statements from job DSNTIJDE.
    2. Run job DSNTIJDE. This job deletes the previously created data sets for the Db2 directory and Db2 catalog.
    3. Run DSNTIJIN again.