To move a database to another database manager:
If you normally use the database manager archiving facility, specify the LOGMODE=A initialization parameter to archive the database, or LOGMODE=L to archive the log. If you do not use the archiving facility, specify LOGMODE=Y.
Do not destroy the source database until you are certain that it has been correctly moved to the target.
Before proceeding to move the database, it is recommended that you first install and verify the IBM-supplied starter database on the target database manager, to ensure that the target database manager has been correctly installed. For information on how to do this, see the DB2 Server for VM Program Directory.
If you are moving from a VSE to a VM operating system, you must increase the space allocations used by approximately 16% for count-key-data DASDs that are 10 cylinders or fewer, and for FBA devices that are 5000 blocks or fewer. For data sets larger than 10 cylinders or larger than 5000 FBA blocks, increase the allocation by about 3%. These increases account for VM DASD block I/O. If you use allocations on VM that are the same size as those you used on VSE, the VM database will be too small.
You must define exactly the same number of dbextents and logs that existed on the old database.
For database planning information, see Chapter 2, Planning for Database Generation. For the database definition and generation procedure, see the DB2 Server for VM Program Directory DB2 Server for VSE Program Directory.
SQLLOG DBNAME(server-name)
Respond CONTINUE to message ARI0688D (for single logging) or ARI6129D (for dual logging). Respond 0 to message ARI0944D to reformat the log.
SQLSTART DBNAME(server-name) PARM(STARTUP=R)
Do not specify LOGMODE=A or L when you issue SQLSTART. Message ARI0253D is displayed, indicating that the restored database archive is not known to the database manager. (The database manager keeps track of archives in the log history area.) Reply IGNORE to this message. When the application server is started and ready for operator commands, shut it down by issuing the SQLEND command.
This text is different on the VSE and VM operating systems, so if you have moved from one system to the other and had the HELP text installed, replace it with the target system version.
For information on how to install the HELP text, see the DB2 Server for VM Program Directory .