Upgrading HOPEX Data
Most changes apply to HOPEX programs. However, some changes apply to the systemdb repository. It is therefore necessary to update all HOPEX environments to benefit from all the changes and fixes. The procedure varies with the storage.
Upgrade HOPEX environments
Pre-upgrade:
• Verify that no transaction exists.
Procedure (GBMS storage):
For each HOPEX environment:
1. Start the Windows Administration Console (Administration.exe).
2. Select the environment to be upgraded.
3. R click > Open with the identifier System.
4. Select the repository 'SystemDb'.
5. R click > 'Conversions > Environment automatic update > Apply'.
6. Read the information, check the option 'I have taken note of the above text' then click 'OK'.
The process 'Environment Automatic Upgrade' is executed.
Wait until the upgrade is complete.
A message like 'Your environment has been successfully updated’ is displayed.
7. Click 'OK.'
8. Close the environment.
9. Exit the Windows Administration Console.
Procedure (RDBMS storage: Oracle, SQL Server):
With RDBMS storage, the technical format of system database and data repositories may change when upgrading CP. In this case, a warning is displayed:
You cannot access repository XXX. Its internal structure is not up to date. Run the menu "Technical Conversion" to perform the upgrade.
For each HOPEX environment:
1. Start the Administration Console (Administration.exe).
2. Select the environment to be upgraded.
3. R click > Open.
4. If a warning is displayed (You cannot access repository "SystemDb". Its internal structure is not up to date. Run the menu "Technical Conversion" to perform the upgrade):
o Select the environment in the administration tree.
o R click > Technical conversions.
A window 'MEGA RDBMS Technical Conversion' is displayed.
o Click 'OK'.
o Wait until the processing is complete (it takes few minutes) and click 'Close'.
o Select the environment to be upgraded.
o R click > Open.
5. Login with the System identifier.
6. If warnings are displayed (You cannot access repository "XXX". Its internal structure is not up to date. Run the menu "Technical Conversion" to perform the upgrade).
o For each data repository (ex: ProductionData)
Select the data repository in the administration tree.
R click > Technical conversions.
A window 'MEGA RDBMS Technical Conversion' is displayed.
Click 'OK'.
Wait until the processing is complete (it usually takes a few minutes) and click 'Close'.
7. In the folder 'Repositories', select 'Systemdb'
8. R click > 'Conversions > Environment automatic update > Apply'.
9. Read the information, check the option 'I have taken note of the above text' then click OK.
The process 'Environment Automatic Upgrade' is executed.
10. Wait until the upgrade is complete. (time can vary according to CP, usually more than 30 min)
A message like 'Your environment has been successfully updated' is displayed.
11. Click OK.
12. Close the environment.
13. Exit the Administration Console.
Check Upgraded Data
Exhaustive check of upgraded data is not possible.
The data conversion success is guaranteed by the correct environment upgrade processing.
If errors are encountered at this step, the migration process must be stopped so that a diagnosis is made.
After complete execution of the migration process, it is recommended to perform a manual check of migrated data.
Example of scenario:
1. Open a workarea.
2. Browse through objects using query tool, navigation tree and diagram.
3. Make small unimportant changes (e.g.: change a character in a comment value, slightly move an object in a diagram...)
4. Exit the workarea with save or dispatch.