APPEND Subcommand (OMSLOG command)
If the FILE subcommand specifies an existing file, by default the file is overwritten.
For text format log files, you can use the APPEND subcommand to append new logging information to
the file instead of overwriting.
Example
OMSLOG FILE = '/mydir/mylog.txt'
/APPEND = YES
/FORMAT = TEXT.
-
APPEND = YESis only valid withFORMAT = TEXT. For XML log files, theAPPENDsubcommand is ignored. -
APPEND = YESwithFORMAT = TEXTwill append to an existing file, even if the existing file contains XML-format log information. (An XML file is a text file, andOMSLOGdoes not differentiate based on file extension or content.) - If the specified file does not exist,
APPENDhas no effect.