HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)
page:4-
Locating Dictionaries
The first step is to locate all dictionaries to be u pgraded. Because the System Dictionary database is
named SYSDIC, you can easily locate all dictionaries on a system by entering the command:
:LISTF SYSDIC.@.@,1
A sample output from the LISTF command is shown below:
ACCOUNT= ADMIN GROUP= PUB
FILENAME CODE ------------LOGICAL RECORD--------
SIZE TYP EOF LIMIT
SYSDIC PRIV 128W FB 25 25
ACCOUNT= SDUSER GROUP= RPG
FILENAME CODE ------------LOGICAL RECORD--------
SIZE TYP EOF LIMIT
SYSDIC PRIV 128W FB 25 25
:
In this example, the output shows that th ere are two dictionaries on the system, one in the PUB group of
the ADMIN account and one in the RPG group in account SDUSER. Note that the SYSDIC file is an
IMAGE database root file with the file code "PRIV" .
Storing Dictionaries on Tape
The second step is to store all dictionaries that are to be upgraded on a backup tape. This should be done
before running SDUPGRAD.
WARNING IfSDUPGRADfails during the upgradeprocess,you may not beabletorecover the
dictionary except from a backup tape.
You can make backup copies of all the dictionaries on a syst em by entering the following commands:
:FILE T; DEV=TAPE
:STORE SYSDIC@.@.@;*T
Note that the at-signs (@) in SYSDIC@.@.@ cause the :STORE command to capture all the System
Dictionary files in all groups and accounts on the system. For more information on the :STORE command,
refer to the MPE/XL Commands Reference Manual
Logging On
The third step is to log on as the creator of t he dictionary that will be upgraded. It is necessary to log on
as the dictionary creator because the TurboIMAGE subsystem which is called by the SDUPGRAD
procedure to purge and recreate the SYSDIC database will only allow that database to be purged by its
creator. For example, if the dictionary was created in the PUB group of the ADMIN account by the user
MGR, you must log on as MGR.ADMIN,PUB. SDUPGRAD does not prompt you for a dictionary name. It
automatically accesses the dictionary named SYSDIC in the logon group and account.
Running SDUPGRAD
The fourth step, after logging on to the appropriate group and account, is to run SDUPGRAD and respond
to a series of prompts.
The RUN Command. To run SDUPGRAD, enter the command: