!EVTMSG.DEF 1.0(102) ! symbols for EVTMSG.SBX (using EVT_xxx syntax) !-------------------------------------------------------------------------- !EDIT HISTORY ![100] March 12, 2005 04:40 PM Edited by Jack ! Converted from EVTMSG.MAP to use define ![101] March 08, 2007 12:55 PM Edited by Jack ! Move some of the defs inside EVTMSG.BP (not needed for calling apps); ! define EVL_LOGPURE which doesn't include any automatic info in the ! log (you specify everything yourself; otherwise the log message ! contains dd-mon-yr hh:mm:ss level [prog prgver job user ip]) ![102] March 13, 2007 11:10 AM Edited by Jack ! Add EVL_SETMSGFIL to establish new message file name !-------------------------------------------------------------------------- define EVTMSG_FSPEC = "OPR:EVTMSG.LOG" ! filespec for logging messages ! Symbols for EVTMSG.SBR ELVL (flags) argument define EVL_DEBUG = 0 ! debug mode define EVL_INFO = 1 ! info message define EVL_WARN = 2 ! warning message define EVL_ERROR = 3 ! error message define EVL_FATAL = 4 ! fatal error message define EVL_SETMSGFIL = 9 ! establish message file name (no other action) define EVL_LOG = &h10 ! output to log (with or w/o msgbox) define EVL_NOMSG = &h20 ! turns off msgbox define EVL_LOGONLY = &h30 ! output to log only (no msgbox) define EVL_NOSTAMP = &h40 ! disable auto timestamping of log messages define EVL_LOGPURE = &h70 ! log only, no automatic timestamp info