HP 3000 Manuals

Modifying the Application Message Catalog [ Message Catalogs:Programmer's Guide ] MPE/iX 5.0 Documentation


Message Catalogs:Programmer's Guide

Chapter 4  Modifying the Application Message Catalog 

You modify a message catalog by adding, replacing, and deleting set,
message, and comment records in the source file.  This modification is
done by merging two files, an old source file, and the maintenance file
to create a new source file, as shown in Figure 4.1.  The old source file
is the catalog you originally created and input to the GENCAT utility to
be formatted.  The maintenance file contains the changes that will be
made to the old source file.

You may use one of two methods to merge these files, either by line
numbers or by set and message numbers, to create a new source.  Unless
consecutive blocks of a source file require modification, the set and
message number merge method is the easiest.

You may keep changes made to a source during a maintenance merge in a
collision file.  Collision files give you the capability to rollback to
the old version of the source file.

After you create a modified source file, you format it with GENCAT. The
formatted catalog can then be accessed by your application program.  For
information about formatting the source file, refer to "Formatting a
Source Catalog" in Chapter 2.  For information about accessing your
formatted catalog, refer to Chapter 3.


MPE/iX 5.0 Documentation