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.
LOG_ERROR("FRED");
LOG_ERROR(200);
A=10;
LOG_ERROR(A);
To use the 3270 Script window’s Statements menu to define a LOG_ERROR statement, follow this procedure:
The system displays the Log_Error Definition window.
The LOG_ERROR statement is added to the script.