IBM Books

Command Reference

db2ckmig - Database Pre-migration Tool

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

database
Specifies an alias name of a database to be scanned.

-e
Specifies that all local cataloged databases are to be scanned.

-l
Specifies a log file to keep a list of errors and warnings generated for the scanned database.

-u
Specifies the user ID of the system administrator.

-p
Specifies the password of the system administrator's user ID.

Usage Notes

To verify the state of a database:

  1. Logon as the instance owner.

  2. Issue the db2ckmig command.

  3. Check the log file. If it shows errors, see one of the Quick Beginnings books for suggested corrective actions.
    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.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]