The editing tool KDCCSYSL converts a SYSLOG file into another file which can be processed with the user’s evaluation tool program or the KDCPSYSL tool. Each UTM message in this new file comprises a record of variable length and is stored in the following format:
SL FIL | 2 bytes; content: binary record length (length of message + 4) 2 bytes; content: blanks |
The structure of the individual UTM messages is described by the data structures kcmsg.h (C) or KCMSGC (COBOL). The messages do not contain a message text.
You can find the data structures for the UTM messages in the following locations:
Unix and Linux systems:
utmpath
/include/kcmsg.h
orutmpath
/copy-cobol85/KCMSGC
(Micro Focus COBOL compiler) orutmpath
/netcobol/KCMSGC
(NetCOBOL compiler)
Windows systems:
utmpath
\include\kcmsg.h
orutmpath
\copy-cobol85\KCMSGC
(Micro Focus COBOL compiler)
Calling KDCCSYSL
Unix and Linux systems:
utmpath/ex/kdccsysl
file_in file_out
Windows systems from a command prompt window:
utmpath\ex\kdccsysl
file_in file_out
Meaning of the parameters:
file_in file_out | is the SYSLOG file is the SYSLOG file edited by KDCCSYSL |
The KDCCSYSL messages are output to stderr.