2.138 LOGFILESBEHIND | LOGFILESBEHINDINFO

Valid for

GLOBALS, Manager

Description

Use LOGFILESBEHIND or LOGFILESBEHINDINFO to report Extract and Replicat processing lags.

Manager can monitor log trails to help prevent premature recycling. Premature recycling can happen when an Extract or Replicat process is down for an extended period and unable to process data written by Logger. Whenever Logger moves to a new file in the log trail sequence, the oldest log file is recycled and the data is lost.

  • LOGFILESBEHIND sends a critical message when Extract or Replicat processing lags a specified number of files behind the current log trail file.

  • LOGFILESBEHINDINFO sends an informational message when Extract or Replicat falls the specified number of files behind the current log trail file. You can specify both LOGFILESBEHIND and LOGFILESBEHINDINFO.

The messages are generated on the host system of the process.

Default

No report when falling behind

Syntax

LOGFILESBEHIND num_files | LOGFILESBEHINDINFO num_files
num_files

The number of files falling behind.

Example

For these examples, assume that these parameters are executed on \LA, and also on \LA several Replicat programs deliver data logged to \NY.$DATA1.GLOGGGL.AA.

The log process on \NY is currently logging to file AA000100. If any Replicat at \LA is processing log trail AA000097 or earlier, Manager generates an informational message at \LA. If any Replicat is processing log trail AA000092 or earlier, Manager sends a critical message to the \LA EMS console.

LOGFILESBEHINDINFO 3
LOGFILESBEHIND 8