>>--isFull(--+---------+-+----------+--)----------------------><
+--server-+ +-,-source-+Determines if the event log is full.
The arguments are:
Optional. The server where the event log resides.
Optional. The event source.
The method returns .true or .false. True if the event log is full, otherwise false.
This example is a snippet of code from an application that monitors the system log. When the log gets full, the log is backed up and cleared.
::routine checkLog
use strict arg sysLog, monitor
if sysLog~isFull then do
success = monitor~backupLog(sysLog)
if \ success then monitor~notifyAdmin
end
return success