Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see CHECK PLUS for DB2 13.1.

CHECK PLUS RI rules tables


Installing CHECK PLUS creates the following additional tables: 

  • BMCRELS 
  • BMCFOREIGNKEYS
  • BMCPRIMARYKEYS
  • BMCKEYS 

CHECK PLUS uses these tables to store any user-defined RI rules that you define under the CHECK DATA option when you specify SAVERULES YES. Subsequent CHECK DATA utility jobs automatically use these saved rules when running against the Db2 objects affected by the rules definitions. For information about the option that uses these tables, see SAVERULES.

The CHECK PLUS RI rules tables are created using Db2-defined RI, with the cascade delete rule. You can access these BMC RI tables by using SQL statements.

CHECK PLUS BMCRELS table

Column name

Data type

Description

CREATOR

VARCHAR(128)

Creator of the table a

TBNAME

VARCHAR(128)

Table name a

RELNAME

VARCHAR(128)

Constraint name a

REFTBCREATOR

VARCHAR(128)

Creator of referenced table

REFTBNAME

VARCHAR(128)

Name of referenced table

COLCOUNT

SMALLINT

Number of key columns

TIMESTAMP

TIMESTAMP

Timestamp of when the row was inserted

a The first three columns make up the primary key.

CHECK PLUS BMCFOREIGNKEYS table

Column name

Data type

Description

CREATOR

VARCHAR(128)

creator of the table a

TBNAME

VARCHAR(128)

table name a

RELNAME

VARCHAR(128)

constraint name a

COLNAME

VARCHAR(128)

name of key column

COLNO

SMALLINT

column number in table

COLSEQ

SMALLINT

column sequence in key

a The first three columns make up the foreign key.

CHECK PLUS BMCPRIMARYKEYS table

Column name

Data type

Description

TBCREATOR

VARCHAR(128)

Creator of the table a

TBNAME

VARCHAR(128)

Table name a

COLCOUNT

SMALLINT

Number of key columns

TIMESTAMP

TIMESTAMP

Timestamp of when the row was inserted

a The first two columns make up the primary key.

CHECK PLUS BMCKEYS table

Column name

Data type

Description

TBCREATOR

VARCHAR(128)

Creator of the table a

TBNAME

VARCHAR(128)

Table name a

COLNAME

VARCHAR(128)

Column name

COLSEQ

SMALLINT

Column sequence in key

a The first two columns make up the foreign key.

 

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