LOG_ERROR

Use the LOG_ERROR statement to write data to the error log with the message identifier 24398. By default, message 24398 has a severity of white.

The data you provide can be a variable, a string, or a number.

Syntax


This picture shows the syntax of the LOG_ERROR statement.

Examples

LOG_ERROR("FRED");

LOG_ERROR(200);

A=10;

LOG_ERROR(A);

Procedure

To use the 3270 Script window’s Statements menu to define a LOG_ERROR statement, follow this procedure:

  1. From the Welcome window, click on Applications —> 3270 Servers
  2. Selecting the LOG_ERROR statement : Click Statements —> Log_Error.

    The system displays the Log_Error Definition window.

  3. Selecting the parameter : Click a Term Type to log a variable, string, or number.
  4. Adding the statement to the script : Click OK.

    The LOG_ERROR statement is added to the script.