Setting REORG PLUS authorizations
To set Db2 authorizations
For all reorganization jobs, grant the following authorizations:
- Sufficient Db2 authority to execute the REORG PLUS plan and all packages that the REORG PLUS plan uses
- Authorization equivalent to the authorization that the comparable IBM Db2 REORG utility requires
To enable running a SHRLEVEL CHANGE reorganization, also grant the following additional authorities:
- TRACE authority
- MONITOR2 authority
- DISPLAY authority (if not already granted to PUBLIC)
To enable reorganizing base table spaces that contain XML columns, also grant SELECT privileges on the following Db2 tables:
- SYSIBM.SYSSEQUENCES
- SYSIBM.SYSSEQUENCESDEP
To enable reorganizing user-defined XML indexes, also grant SELECT privileges on the SYSIBM.SYSXMLRELS Db2 table.
- To enable using the DSRSEXIT user exit to update the Db2 catalog (in other words, the DSRSEXIT user exit has a default of YES for the BMC_ALTER_DB2_CATALOG variable), also complete the following steps:
- For the ALTER TABLESPACE statement, grant one of the following privileges if the user is not the owner of the table space:
- DBADM authority for the database that contains the table
- SYSADM or SYSCTRL authority
- System DBADM
- For the ALTER INDEX or ALTER TABLE statement, grant one of the following privileges if the user is not the owner of the index:
- Ownership of the table on which the index is defined
- DBADM authority for the database that contains the table
- SYSADM or SYSCTRL authority
- System DBADM
- For the ALTER TABLESPACE statement, grant one of the following privileges if the user is not the owner of the table space:
- To enable using the MAPTEXIT user exit, also grant the authority to create and drop objects on the DSNDB04 database.
To enable the use of the FORCE option to cancel DB2 threads that might prevent a successful drain during a reorganization job, also grant the following authorizations:
- DISPLAY privileges
- One of the following authorities:
- SYSADM
- SYSOPR
- SYSCTRL
To enable use of the
SNAPSHOT UPGRADE FEATURE
(
SUF
) (also known as
XBM
), ensure that you have the appropriate authorizations for
XBM
or
SUF
.For information about security levels and authorizations for SUF (also known as XBM), see the SNAPSHOT UPGRADE FEATURE for DB2 documentation.
To enable data set access using the Db2 DBM1 user ID for RACF or ACF2
Specify OPNDB2ID=YES in your installation options.
This option tells the utility to use the Db2 DBM1 RACF or ACF2 user ID for data set access.
To enable data set access when not using the Db2 RACF ID
- Specify OPNDB2ID=NO in your installation options.This option tells REORG PLUS not to use the Db2 RACF ID for data set access.
- If using RACF or a similar system security package to protect underlying data sets and the Integrated Catalog Facility (ICF) catalog of a table or index space, grant a minimum of the following levels of authorization:
- ALTER or CONTROL to access, update, and define Db2 data sets
UPDATE or CONTROL to access and update the ICF catalog
- To enable using rename or FASTSWITCH processing, if you establish authority at a node lower than the highest node, grant the same privileges as described in step 2 for the following data sets:
- For STAGEDSN=BMC:
- VCAT.BMCDBD.database.object.I0001
- VCAT.BMCDBC.database.object.I0001
- VCAT.OLDDBD.database.object.I0001
- VCAT.OLDDBC.database.object.I0001
- VCAT.BMCDBD.database.object.J0001
- VCAT.BMCDBC.database.object.J0001
- VCAT.OLDDBD.database.object.J0001
- VCAT.OLDDBC.database.object.J0001
- For STAGEDSN=DSN (the default when you use the FASTSWITCH process):
- VCAT.BMCDBD.database.object.I0001
- VCAT.BMCDBC.database.object.I0001
- VCAT.BMCDBD.database.object.J0001
- VCAT.BMCDBC.database.object.J0001
- VCAT.DSNDBD.database.object.S0001
- VCAT.DSNDBC.database.object.S0001
- For STAGEDSN=BMC: