Overview (OMSLOG command)
OMSLOG creates
a log file in either XML or text form for subsequent OMS commands during a session.
- The log contains one line or main XML element for
each destination file and contains the event name, filename, and location,
the ID tag value, and a timestamp. The log also contains an entry
when an
OMScommand is started and stopped. - The log file remains open, and OMS activity is appended
to the log, unless logging is turned off by an
OMSENDcommand or the end of the session. - A subsequent
OMSLOGcommand that specifies a different log file ends logging to the file specified on the previousOMSLOGcommand. - A subsequent
OMSLOGfile that specifies the same log file will overwrite the current log file for the defaultFORMAT = XMLor in the absence ofAPPEND = YESforFORMAT = TEXT. - OMS activity for any
OMScommands executed before the firstOMSLOGcommand in the session is not recorded in any log file.
Basic Specification
The basic specification is the command name OMSLOG followed by a FILE subcommand that specifies the log filename and location.
Syntax Rules
- The
FILEsubcommand is required. All other specifications are optional. - Equals signs (=) shown in the command syntax chart and examples are required, not optional.