The vfyLogMsg command verifies the information associated with a specific logging message format.
Synopsis
vfyLogMsg
msgnum
Description
The vfyLogMsg command, given a message number or symbolic message name, recomposes the message format from the information stored in the cmpLogFmt files.
Note:
You cannot use the vfyLogMsg command to look up a message format for a message class that you have just created, but not yet installed.
The msgnum argument can be in any of the formats listed in the following table:
Format |
Comments |
Absolute message number |
The absolute message number would be if you were examining compressed logging files with an editor, for example, 238 |
Symbolic name |
The symbolic name is found in the associated log{CLASS} .h header file, for example, SYSMSG |
Message class/relative index in class pair logGEN(2) or GEN.2 |
This format can be specified in two ways: logGEN(2) or GEN.2. Two forms exist because the log{CLASS}(index) form must be enclosed in quotes when used from the command line because `(` and `)' are shell meta-characters, and this is difficult to type. |
The output of the vfyLogMsg command contains up to five different types of information about the message format, discussed in the following table:
Type of information |
Comments |
Interpretations of the message number |
The first block of information contains the three interpretations of the message number |
Restored message format |
The second block of information includes the restored message format without any SQL field names that might have been specified in the original format |
SQL field name information |
This information is the SQL field name information as specified in the original format. One description line exists for each argument on the machine. |
Current message priority |
The fourth block of information describes the current priority assigned to this message in that shared memory and the destination bit mask. This block of information is available only if the logging destination/priority shared memory exists on the machine. |
Description of each destination bit |
The fifth block of information describes each destination bit specified in the destination bit mask, starting with the lowest order bit |
Example
vfyLogMsg 238
See also