Db2 Object Comparison Tool condition codes

Object Comparison Tool programs return condition codes to indicate whether the program completed successfully. If you receive a condition code greater than zero, review the messages carefully.

ADB2GEN condition codes

The ADB2GEN program is used to create a version file. The following condition codes are issued by ADB2GEN:

0
The program ran successfully.
4
One of the following conditions occurred:
  • A parameter error occurred. The parameter was ignored or the default was used. No generate requests were issued.
  • A requested object was not found. A warning is issued.
8
One of the following conditions occurred:
  • No parameters were found. Processing ended.
  • The Db2® version is not supported. Other errors might be issued.
12
One of the following conditions occurred:
  • The Db2 version is not supported. Processing ended.
  • The remote location is not defined or is not a Db2 for z/OS® system. This error is an internal error or limitation.
  • Other severe errors were detected.
16
A severe error occurred.

GOC2CMP condition codes

The following condition codes are issued by the GOC2CMP program:
0
The program ran successfully.
4
The index was not dropped, which can lead to loss of referential integrity. See the listed error message.
6
SQL PL functions have been bypassed, because the BYPASSSQLPL parameter was specified. Examine the generated APPLY job or work statement list to verify that the content is complete.
8
Problems with referential constraints were detected. Manual action is required. See the listed error message.
16
A severe error occurred. See the listed error message.

GOC2DTC condition codes

The GOC2DTC program can issue the following condition code:
12
A string (enclosed in quotation marks) is too long.