Table of Contents
ChkAlarm - translate sql output to CHKALARMDISK records
ChkAlarm
<arguments> <out_file> < list_of_tuples
This program reads a list
of tuples from
stdin and writes
CHKALARMDISK records to file specified
by
<out_file>.
An integer value coded with the record type is written at the
beginning of the output.
The argument processing is done using
Unix long argument syntax.
The <out_file> argument is required.
The program
normally performs it’s work silently. It doesn’t even print a sign on message.
- --verbose=<n>
A verbosity level. The argument is optional. If not provided the verbosity
level defaults to 1. This causes the program to print the signon message
and the option table.
Note that because the argument is optional the equals
sign must be present when the argument is used.
- --help
Print the program help to stderr and exit.
Each input line is
one tuple. The line is terminated with a
newline. Fields within the tuple
are separated by a
|.
The field order is Mrecid, RecId, Mask, Mask2, and
Message.
$Id: ChkAlarm.8,v 1.2 2007/09/13 16:50:32 kitchen
Exp $
Table of Contents