Structure of messages sent to SYSLOG or MSGTAC:
Message header  | Message data, layout depending on message number  | 
1 28  | 29  | 
Structure of the messages:
Bytes  | Format  | Meaning  | 
1  | X‘40‘  | Blank  | 
2-5  | C‘Kxxx‘ or C‘Pxxx  | Message number  | 
6  | X‘40  | Blank  | 
7-17  | C‘mm/dd/yyjjj‘  | Date, where mm=month, dd=day of month, yy=year, jjj=day of year  | 
18  | X‘40  | Blank  | 
19-24  | C‘hhmmss‘  | Time of day, where hh=hour, mm=minute, ss=second  | 
25-28  | C’yyyy’  | 4-digit year specification  | 
29 & up  | Message data  | 
The complete data structures corresponding to the structure of the message header can be found the following locations:
Unix and Linux systems:
utmpath
/include/kcmsg.horutmpath
/copy-cobol85/KCMSGC(Micro Focus COBOL compiler) orutmpath
/netcobol/KCMSGC(NetCOBOL compiler)
Windows systems:
utmpath
\include\kcmsg.horutmpath
\copy-cobol85\KCMSGC(Micro Focus COBOL compiler)