Verifies that a database can be migrated. For detailed information about using this tool, see one of the Quick Beginnings books.
Authorization
sysadm
Required Connection
None
Command Syntax
>>-db2ckmig---+-database-+-l filename---+------------+----------> +--e-------+ +--u userid--+ >--+--------------+-------------------------------------------->< +--p password--+ |
Command Parameters
Usage Notes
To verify the state of a database:
Note: | The log file displays the errors that occur when the db2ckmig command is run. Check that the log is empty before continuing with the migration process. |
Table 1. Correcting Error Messages
Error | Action |
---|---|
A database is in Backup pending state | Perform a backup of the database. |
A database is in Roll-forward pending state | Recover the database as required; perform or resume a Roll-forward Database. |
Table space ID not in normal state | Recover the database and table space as required; perform or resume a Roll-forward Database. |
A database is in Database transaction inconsistent state | Restart the database to return it to a consistent state. |
The database contains database objects that have a schema name of SYSCAT, SYSSTAT, or SYSFUN | These schema names are reserved for the database manager. To correct this
error, do the following:
|