If you are migrating from Version 5.0 or Version 5.2 to DB2 Version 7, you must prepare your databases and instances before installing DB2 Version 7. If you are upgrading from Version 6, there is nothing you have to do prior to installing Version 7.
The migration of pre-Version 5.0 databases and instances is not supported in DB2 Version 7.
When you migrate from a Version 5.x or Version 6 database system to a DB2 Enterprise - Extended Edition Version 7 database system, depending on the installation option you choose, the installation program will migrate all instances to the Version 7 multipartition or single-partition format. If you are migrating a database with populated tables, refer to the Administration Guide for descriptions of how to add database partition servers to a system and redistribute data across database partitions.
After you install DB2 Enterprise - Extended Edition, any databases that you created with earlier versions of DB2 will not automatically work with the new version of DB2. You must follow the steps in this section to migrate your instances and then to move data from the previous database system to the new one. Although your data is not changed during the process, the database is different from the original one. The differences depend on the type of database system from which you are migrating.
This section describes how to prepare existing DB2 Version 5.x databases and instances for migration to a format usable by DB2 Version 7. If you want to migrate more than one instance, you must repeat these steps for each instance.
You must be logged in as the instance owner to complete these steps.
To prepare your databases for migration:
SQL1611W No data was returned by the Database System Monitor. SQLSTATE=00000
You can end a session by entering the db2 terminate command.
db2 list database directory
If necessary, ensure that each export statement is separated into different lines. For example:
DB2INSTANCE=db2inst1 //bash, Bourne, or Korn shells export DB2INSTANCE set DB2INSTANCE=db2inst1 //C shell
To update a DB2 Enterprise Edition Version 7 database system to a DB2 Enterprise - Extended Edition Version 7 system, you must update your instance using the db2iupdt command. For more information, refer to the Administration Guide.