Format of Compiled Repository Entries

Within the compiled repository (xxxmmm TEXT), each part of a message is mapped by DSECTs in the MSGCONV macro. The DSECTs map the format of the entire message, substitution fields, and special dictionary items.

The first 2 fullwords of MCNMSG contain general information about the message, including: its number, type (text or columnar), default routing and severity codes, header text, and the number of substitutions needed. As Figure 1 shows, MCNMSG also contains an index to the substitution fields, mapped by MCNFIELD.

Skip over ASCII art.

Figure 1. A Message in the Conversion Repository
              MCNMSG
         +---------------+
         | general       |              MCNFIELD
         | message       |          +---------------+
         | information   |      +-->|               |
         +---------------+      |   |               |
         | index field 1 +------+   +---------------+
         +---------------+
         | index field 2 +------+       MCNFIELD
         +---------------+      |   +---------------+
                                +-->|               |
                                    |               |
                                    +---------------+

The figure is described in the previous text.

MCNFIELD contains the parameter number, its input and output length, and flags that indicate the type of substitution and justification needed. Indirection locates the values for the substitution. If one indirection is needed, MCNFIELD points to the location of the information. If many indirections are needed to find information, MCNFIELD contains a pointer to an indirection list. This list, in turn, points to the value for the substitution. Bit 0 in MCNFIELD indicates if an indirection list is to be used.