Running the CDC Replication Engine for Db2® for i under adopted authority

To enhance security, you can change CDC Replication to run under adopted authority.

Changing the program user profile parameter from *USER to *OWNER

By default, all CDC Replication programs are shipped with the parameter settings USRPRF(*USER) and USEADPAUT(*YES). For each of these programs, you must change the user profile (USRPRF) parameter from *USER to *OWNER.

Issue the following command for each of the programs listed in the following table:

CHGPGM PGM(<library>/<program_name>) USRPRF(*OWNER)

where <library> is the CDC Replication library.

Table 1. List of program names
Program name
DMSCONTROL DMS040 DMS880 DMS891 DMT115
DMSDESCRIB DMS050 DMS881 DMS892 DMT855
DMSMIRROR DMS051 DMS882 DMS893 DMT861
DMSREFRESH DMS064 DMS883 DMS894 DMT863
DMSSCRAPER DMS110 DMS884 DMS895 DMU105
DMTAPPLY DMS140 DMS885 DMS896 DMU110
DMTDESCRIB DMS150 DMS886 DMS897 DMU115
DMTCONTROL DMS815 DMS887 DMS898  
DMS010 DMS816 DMS888 DMT050  
DMS011 DMS817 DMS890 DMT051  
Note: Instead of issuing the CHGPGM command for an individual program, you can also specify a generic name such as DM* or *ALL for the program name.

Substituting the adopted authority program versions

The CDC Replication programs in the following table are also on top of the job stream, but the characteristics of these programs require more involved changes than just changing the user profile (USRPRF) parameter through the CHGPGM command.
Table 2. List of program names
Default object name Object type Adopted authority object name
DMRA10 *PGM DMRA10AA
DMT862 *PGM DMT862AA
DMS125 *SRVPGM DMS125AA

Using the adopted authority programs

Procedure

  1. Rename the default objects so that you can return to them if necessary.

    The following example appends the letters SV to the default object names to obtain the new object names:

    RNMOBJ OBJ(<library>/DMRA10) OBJTYPE(*PGM) NEWOBJ(DMRA10SV)

    where <library> is the CDC Replication library.

  2. Rename the adopted authority objects to the default object names. For example:
    RNMOBJ OBJ(<library>/DMRA10AA) OBJTYPE(*PGM) NEWOBJ(DMRA10)

    where <library> is the CDC Replication library.