1.3.5 In the event of an upgrading error

This section discusses the actions that you should take if any of the following events occurs:

In this case, check the message that is output along with this message and take an appropriate action.

Organization of this subsection
(1) When you do not need to terminate HiRDB
(2) When you need to terminate HiRDB
(3) When you need to restore the old version of HiRDB

(1) When you do not need to terminate HiRDB

Eliminate the cause of the error and reenter the pdvrup command.

(2) When you need to terminate HiRDB

If you need to terminate HiRDB to correct the error, terminate HiRDB once. After eliminating the cause of the error, use the pdstart command to start HiRDB. When HiRDB starts, the pdvrup command entry request message (KFPS05203-Q) is issued, so that you can reenter the pdvrup command.

(3) When you need to restore the old version of HiRDB

To correct the error, you may need to restore an earlier version of HiRDB, depending on the error. For example, if insufficient data dictionary RDAREA space is the cause of the upgrading error, you need to restore the previous version of HiRDB and use the database structure modification utility (pdmod). In this case, restore the previous version of HiRDB, eliminate the cause of the error, and then upgrade HiRDB again.

The following figure illustrates the procedure for restoring the previous version of HiRDB.

Figure 1-3 Procedure to restore HiRDB to the previous version (when version upgrade fails)

[Figure]

#1
When you are downgrading from version 08-02 or later to a HiRDB version earlier than 08-02, proceed to NO. If you install an earlier version of HiRDB without uninstalling the later version, the registry information, directories, and files installed by the later version will be retained. While the earlier version will run with these items present, two HiRDBs with the same setup ID will be displayed under Currently installed programs (under Control Panel, Add/Remove Programs). Should this happen, delete both programs using Currently installed programs, restart the OS, and then reinstall the earlier version of HiRDB.
#2
If there is no backup copy but the system definition files under %PDDIR%\conf have been retained, you can use those files as they are. If there is no backup copy and the files under %PDDIR%\conf have also been deleted, you must re-create the system definition files.

The following figure illustrates the procedure for deleting and re-creating the system files created by the later version.

Figure 1-4 Procedure for deleting and re-creating the system files created by the new version

[Figure]