Previous Topic: TABLE StatementNext Topic: LDMAMS Statements


WRITELOG Command

The WRITELOG command ensures that all log entries are written to a log.

Syntax

WRITELOG name

Note: Issue the WRITELOG command from a console. CA-L-Serv automatically writes data buffers to log files when the buffers become full. If CA-L-Serv is recording log information for a rarely used file, the log might not contain the most recent entries because the buffers have not been filled. You can issue the WRITELOG command to write the contents of the buffers to the log so that the log is up to date. The WRITELOG command does not close the file.

Example

To write the active buffers for LOG1:

WRITELOG LOG1