Scans a database and determines whether any tables cannot be accessed in a fix pack before DB2® Cancun Release 10.5.0.4. If you want to revert to a previous fix pack after applying DB2 Cancun Release 10.5.0.4, run this command before you revert to the previous fix pack.
This command establishes a database connection.
>>-db2checkCOL--database_alias-- -checkFP-----------------------> >--+------------------+---------------------------------------->< '-userid--password-'
db2checkCOL testdb -checkFP
Starting Phase 1 of 3: Query Catalog Tables
Starting Phase 2 of 3: Loading Table Descriptors
Starting Phase 3 of 3: Analyzing Table Descriptors
ERROR: Table "MYSCM7 "."MYTB7" is affected.
ERROR: Table "NEWTON "."MYTB8" is affected.
DBT7112E The database has been completely tested, and one or more tables
were found that require additional action.
Exiting with return code "-800".
Return code | Description |
---|---|
0 | You can access all tables in a fix pack before DB2 Cancun Release 10.5.0.4. |
-100 | The command encounters an internal error while testing the database. If this return code is being returned consistently, the assistance of IBM software support is needed to diagnose the problem. |
-300 | It is not possible to scan or process all the column-organized tables in the database (for example, because a table space is offline or there is insufficient disk storage for temporary files). When the issue is resolved, rerun the command. |
-400 | The command encounters an internal error while testing the database. If this return code is being returned consistently, the assistance of IBM software support is needed to diagnose the problem. |
-500 | The authorization ID of the command does not hold the required authorization. Rerun the command with an authorization ID that holds the required authorization. |
-600 | A syntax error is encountered. Correct the syntax and rerun the command. |
-700 | The command encounters an internal error while testing the database. If this return code is being returned consistently, the assistance of IBM software support is needed to diagnose the problem. |
-800 | One or more tables cannot be accessed in a fix pack before DB2 Cancun Release 10.5.0.4. |