Creating an Expanded Source File [ Message Catalogs:Programmer's Guide ] MPE/iX 5.0 Documentation
Message Catalogs:Programmer's Guide
Creating an Expanded Source File
To modify your application message catalog, you must have a source file.
If you do not have access to your original source file, re-create a
source file by expanding the formatted catalog with the GENCAT utility,
as shown in Figure 4.2.
The expanded source file doesn't have the comments that were included in
the original, but the rest of the content in the catalog is the same.
The expanded file is created as an unnumbered file, even if the original
source was numbered. An expanded source file and an original source file
are used in the same way, they are both source files.
Figure 4.2. Expanding a GENCAT Formatted Catalog
Listed below is an example of the user dialog for expanding a formatted
message catalog:
:RUN GENCAT.PUB.SYS
HP32414A.02.01 GENCAT/3000 (C) HEWLETT-PACKARD., 1983
ENTER INDEX OF DESIRED FUNCTION
0. EXIT.
1. HELP.
2. MODIFY SOURCE CATALOG.
3. FORMAT SOURCE INTO FORMATTED CATALOG.
4. EXPAND FORMATTED CATALOG INTO SOURCE.
>>4
ENTER NAME OF FORMATTED CATALOG TO EXPAND
>>FORMAT
ENTER NAME OF NEW SOURCE FILE
>>SOURCE
EXPANDING...
TOTAL NUMBER OF SETS EXPANDED = 3
TOTAL NUMBER OF MESSAGES EXPANDED = 8
EXPANSION SUCCESSFULLY COMPLETED
MPE/iX 5.0 Documentation