Exceptions will be automatically logged in a file by the runtime system if all the following
conditions are true:
- The STARTLOG function
has been previously called to specify the name of the exception logging
file.
- The exception action is set to
CALL, GOTO or STOP.
Exceptions are not logged when the action is CONTINUE.
- The exception class is an
ERROR, ANY ERROR or WARNING.
NOT FOUND exceptions cannot be logged.
Each log entry contains:
- The system-time
- The location of the related instruction (source-file, line)
- The error-number
- The text of the error message, giving human-readable details for the exception