Attempted the migration again and we're getting the following error message:
DBI1205E One or more local databases have been detected that
cannot be migrated to the newest version. Check the
log file /data/db2inst1/migration.log for the list of errors.
Explanation:
Possible errors on the database are:
o Backup pending
o Roll-forward pending
o Database inconsistent
o One or more table spaces is not in normal state
o Database contains database objects that have a schema name of
SYSCAT, SYSSTAT or SYSFUN
o Database contains database objects that have a dependency on
the SYSFUN.DIFFERENCES function. Possible violated objects
are:
- constraint
- function
- trigger
- view
User Response:
Take the following corrective action for each database from the
file /data/db2inst1/migration.log :
o Backup pending - Perform backup of the database.
o Roll-forward pending - Perform a roll-forward database to end
of logs and stop.
o database inconsistent - Restart database to return it to a
consistent state.
o Table space not in normal state - Perform a roll-forward
database.
o Invalid schema - Drop the object and re-create the object
with a correct schema name (qualifier). If the object is a
table you should first export its data, drop the table,
re-create the table with a correct schema name, and then
import or load the data to the new table.
o Object having SYSFUN.DIFFERENCES dependency -
- Constraint - alter table to drop the constraint
- Function - drop the function
- Trigger - drop the trigger
- View - drop the view