Genstat faults

If you give a statement that cannot be executed properly for some reason, Genstat will print informative diagnostics. These are designed to explain why the statement has failed, though they cannot always pin-point the precise cause. If the failure is considered likely to affect future statements, it is classified as a fault; if it is less serious, it is a warning. In addition, some directives can print messages, which provide information that you may need to take into account in interpreting results.

In batch mode, execution of a job stops after a fault; in interactive mode, execution will continue, allowing you to correct the error if possible. Warnings and messages do not interrupt execution.

You can suppress printing of messages, warnings or faults with the DIAGNOSTIC option of the JOB or SET directives. Some directives also have a NOMESSAGE option to suppress particular types of message.

Further information available on

CODES List of Genstat fault codes with one-line descriptions
JOB Genstat JOB directive
SET Controlling aspects of Genstat runtime environment

See also

Updated on June 19, 2019

Was this article helpful?