isFull

>>--isFull(--+---------+-+----------+--)----------------------><
             +--server-+ +-,-source-+

Determines if the event log is full.

Arguments:

The arguments are:

server

Optional. The server where the event log resides.

source

Optional. The event source.

Return value:

The method returns .true or .false. True if the event log is full, otherwise false.

Example:

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