HP-UX SNAplus2 CSV Programmer's Guide
Common Service Verbs Reference
LOG_MESSAGE (HP-UX Systems Only)
Chapter 2 65
parameter gives the message number; the component
identifier for a message logged by this verb is always
32,767.
origntr_id
Name of the component issuing the LOG_MESSAGE
verb; a string of up to eight characters. This parameter
is optional; set the first byte to 0x00 if you do not want
to include it.
If you specify this name, SNAplus2 uses it as the first
parameter inserted into the message text; that is, this
name replaces “%1” in the message text.
msg_file_name
Name of the file containing the text for the message to
be logged. For information about how to create this
message file, see “Creating a Log Message File”.
The message file must have a name consisting of three
characters followed by the .msg extension. This
parameter specifies only the base file name; the .msg
extension is added automatically.
The message file must be stored in the directory /opt
on the computer where the application is running. If
SNAplus2 is set up to use centralized logging on a
single server, the same message file must also be in
/opt on the server that holds the log file.
msg_act
Action to be taken when processing the message. This
defines the log category (problem, exception, or audit)
of the logged message; refer to the HP-UX SNAplus2
Administration Guide for more information about log
categories. Possible values are:
SV_PROBLEM Log as a problem message.
SV_EXCEPTION Log as an exception message.
SV_AUDIT Log as an audit message.
For compatibility with other CSV implementations and
with previous versions of SNAplus2, the following
values are also supported. These are provided for
migration only, because the mapping between these
values and the SNAplus2 log categories is only
approximate and may not always give the most