Installation guide

SPECTRUM
Installation Guide
Page 112
Document 0675
is in effect on your workstation. If it is not, set the variable by
entering one of the following commands:
From the C shell: setenv DISPLAY <hostname>:0
From the Bourne or Korn shells: DISPLAY=<hostname>:0 ; export
DISPLAY
Using the DBconv Utility
SPECTRUM provides a DBconv utility that converts a set of models in the
SPECTRUM database from one model type to another. You can also use
DBconv to rediscover applications and to reconfigure the interfaces in a set
of models.
DBconv is provided with a resource file for each of the management
modules, supporting both old and new model types. The resource files are
named according to the convention <abbreviated model type name>.
Use the SpectroGRAPH New Model selection option under the Edit menu
to determine which model types exist in your database. Then perform the
following procedure for each model type to be converted:
1. Ensure that SpectroSERVER is running and that SpectroGRAPH is not
running.
2. Open the appropriate resource file with your preferred text editor.
The resource file lists the model type handles for the old model types,
immediately followed by a list of the new model type handles for the
model types included in the management module.
Change the value of the old model type handle (old_mtype) and the
value of the new model type handle (new_mtype) for the individual
model type you wish to convert.
3. If you changed the landscape handle from its default value of
0x400000, you must remove the comment symbol (#) from the
beginning of the #landscape_handle line and change the value of
your landscape handle accordingly. With the comment symbol in
place, DBConv will automatically use the 0x400000 default value to
contact SpectroSERVER.
4. Navigate to the #right_rel_to_ignore and #left_rel_to_ignore
lines and see if a comment symbol (#) exists at the beginning of each
line. If so, remove the comment symbol in each case.