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.
If you are migrating a DB2 installation on a workstation that is running on a supported Linux distribution, you should be aware of the following:
To prepare your workstation for installation, you have to upgrade your existing Linux distribution to a more recent level that includes the required (or later) version of the glibc library. You also have the option to update only the local version of the glibc library. We recommend that you update your distribution's installation to a more recent version that includes the required level for the glibc library. Updating just the glibc library without updating your distribution's installation version is not recommended as errors during this process can affect your operating system.
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.
If there are several DB2 instances using previous versions of DB2, you do not need to migrate all of these instances at this time. Instances that are not migrated will continue to use previous versions of DB2.
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