IBM Books

Replication Guide and Reference


Analyzing Data with PREPARE

Enter the following command to prepare the analysis of the migration database after you run the BUILDDB.SQL file:

ASNMIG PREPARE
mig_db ver x

Where:

mig_db
Name of the migration database where the global control tables are stored. This is a required parameter.
Note:If you want to create your global migration control tables in a DB2 for MVS subsystem, DSNDB04 is the default database.

ver
Version of the migration data that you want to analyze. You can use L to select the latest version, or you can select a specific version as noted in your migration database. This is a required parameter.

x
Use either V or O in the position of this character. V validates only the replication definitions in the global control tables before proceeding with Version 5 migration. O updates the replication definitions in the global control tables based on the Version 5 control table data. This is an optional parameter.

PREPARE puts an analysis trace into the PREPARE.TRC file, and puts an analysis summary into the PREPARE.RPT file. The trace file is not translated, and should be handled like the Apply trace file. You should always save the output of each run, and carefully analyze the PREPARE.RPT file for any migration issues.

Migration issues that the PREPARE program checks for are:


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

[ DB2 List of Books | Search the DB2 Books ]