HP-UX SNAplus2 CSV Programmer's Guide

Common Service Verbs Reference
LOG_MESSAGE (HP-UX Systems Only)
Chapter 2 73
Creating the Message File from the Text File
To convert the text file into a message file, use the snapmsgf program as
follows:
snapmsgf
infile outfile
The name of the input text file is
infile
, including a path if it is not in
the current directory.
The name of the output message file is
outfile
, as specified by the
msg_file_name
parameter on LOG_MESSAGE. The output file must
have a name consisting of 1–3 characters with the extension .msg; you
need not specify the extension on the command line.
The output file is created in the current directory. It must be stored in
the directory /opt in order for SNAplus2 to find it when it is specified by
a LOG_MESSAGE verb.
For example, the following command creates the message file new.msg
from the source text file /usr/fred/myfile.text:
snapmsgf /usr/fred/myfile.text new
The snapmsgf program writes error messages to standard error if it
detects errors in the input file format.