DBRC authorization


Before any DBRC authorization, the Reorg function checks all data set names for logical errors.

Three sources of data set names are available: the data set names registered to DBRC, the input data set names in the JCL, and the output data set names in the JCL. Table 1 shows the possible combinations.

Table 1. Valid data set name combinations for authorization

Data set names and DBRC registration

Reorg function keyword

  • No output data set names are registered to DBRC.
  • All input data set names are registered to DBRC.

SHARE(YES)

  • No output primary database data set names are registered to DBRC.
  • All output secondary index data set names are registered to DBRC (no input secondary indexes are specified).
  • All input primary database data set names are registered to DBRC.

SHARE(NO)

  • All input primary database data set names are registered to DBRC.
  • All output secondary index data set names are registered to DBRC (no input secondary indexes are specified).
  • No output primary database data set names are specified.

SHARE(NO)

and

SWAP(x,IC)

All output data set names are registered to DBRC.

SHARE(NO) and

INPUT(UNLDFILE)

The Reorg function also checks the status of the database. If the status is BACKOUT NEEDED or RECOV NEEDED, reorganization is not allowed.

If an error occurs during the data set name swapping process, the Reorg function sets the DBRC NOAUTH flag.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MAXM Reorg for IMS 5.0 and MAXM Reorg for IMS with Online/Defrag Feature 5.0