7.2.2. Errors during Execution
If an external or built-in function detects an error, the language processor is informed, and a syntax error results. Syntax errors can be trapped in the caller using SIGNAL ON SYNTAX and recovery might be possible. If the error is not trapped, the program is ended.