Installing Db2-supplied routines during installation

The DSNTIJRT and DSNTIJRV jobs install and validate the installation of Db2-supplied routines. These jobs are configured with the options that you specified on installation panel DSNTIPR1 and panels DSNTIPRA through DSNTIPRP.

Before you begin

If the RACF® facility class is active and a profile was defined for MVSADMIN.WLM.POLICY, the user that runs the DSNTIJRV job requires READ access. To grant READ access to a user, an administrator must submit the following command:

PERMIT MVSADMIN.WLM.POLICY CLASS(FACILITY) ID(user) ACCESS(READ)

If the RACF OPERCMDS class is active and a profile was defined for MVS™.MCSOPER.*, the user ID that runs the DSNTIJRV job requires READ access. Alternatively, you can add a discrete profile for the DSNTRVFY console that is used in this job. To add a discrete profile for the DSNTRVFY console, an administrator must complete the following steps:

  1. Establish a discrete profile for MVS.MCSOPER.DSNTRVFY by issuing the following command:
    RDEFINE OPERCMDS MVS.MCSOPER.DSNTRVFY UACC(NONE)
  2. Grant READ access to the user that runs the DSNTIJRV job by issuing the following command:
    PERMIT MVS.MCSOPER.DSNTRVFY CLASS(OPERCMDS) ID(user) ACCESS(READ)
  3. Refresh the OPERCMDS class by issuing the following command:
    SETROPTS RACLIST(OPERCMDS)REFRESH
Tip: Start of changeJob DSNTIJRT issues certain GRANT statements, which causes an abend situation if it is run with the AUTH subsystem parameter set to NO. The NO setting of the AUTH subsystem parameter is not recommended because it disables all authorization checking in Db2 and disables the GRANT statement. For more information, see USE PROTECTION field (AUTH subsystem parameter).End of change

Resource Recovery Services (RRS) is also required for these jobs.

Procedure

To install the Db2-supplied routines:

  1. Run job DSNTIJRT to install and configure all Db2-supplied routines.
  2. After DSNTIJRT successfully completes, run job DSNTIJRV to validate the installation of the routines.
  3. Authorize the appropriate users to use one or more of these stored procedures by issuing the GRANT EXECUTE statement.

    As part of the installation process, job DSNTIJRT defines, binds, and grants access to the stored procedures and user-defined functions. Job DSNTIJRT grants EXECUTE authority to the authorization IDs that are specified for the GRANT EXECUTE fields on installation panels DSNTIPRB through DSNTIPRP. The default setting for GRANT EXECUTE is PUBLIC, meaning that anyone who can access Db2 can use these stored procedures.

    Recommendation: When you run the installation CLIST, use the GRANT EXECUTE fields on panels DSNTIPRB through DSNTIPRP to specify different access lists.
  4. Complete additional setup steps for any of the following routines that you plan to use.

What to do next

After installing the Db2-supplied routines, you can choose to disable any of the routines that are unnecessary or unusable on your subsystem.