|
|
Message Catalogs:Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 2 Creating an Application Message CatalogIntroducing the GENCAT Utility |
|
GENCAT.PUB.SYS is the program that formats, incorporates your modifications, and unformats (expands) the message catalog files. GENCAT is menu-driven with HELP available in each step. GENCAT has an online HELP facility. To access HELP, enter the index number for HELP from the menu, or a "?" in response to any prompt that does not have a menu selection for HELP. Explanations of GENCAT error messages are given in Appendix A. GENCAT uses or creates four types of files:
GENCAT dialog examples are given throughout this manual. The operations are performed on the example files: SOURCE, FORMAT, MAINT, and COLISION. They are source, formatted, maintenance, and collision files respectively. Operations on the example files show you how to use GENCAT for your own message catalogs. To run GENCAT from a batch job, enter your responses to GENCAT prompts in the INFO = string after specifying the execution of the GENCAT utility. Type the GENCAT menu numbers and your file names in the same order as you would interactively. Separate your responses by semicolons. Submit the job in the usual manner. An example of formatting a source file, named SOURCE, to the formatted file, FORMAT, with GENCAT is:
If GENCAT encounters an error while formatting, expanding, or modifying a catalog, it will abort the job. For information on formatting with GENCAT, refer to the end of this chapter. For information about creating jobs, refer to the MPE/iX Commands Reference Manual (32650-90003). GENCAT sets one of three Job Control Words (JCWs) at the conclusion of a formatting, maintenance, or expansion operation: GCFORMAT, GCMAINT, or GCEXPAND, respectively. If the operation completes successfully, the appropriate JCW is set to zero; if it fails, the JCW is set to the GENCAT error number. These errors are listed in Appendix A. For information about JCWs, refer to Command Interpreter Access & Variables Programmer's Guide (32650-90011). |
|