Error Handling [ HP SYSTEM DICTIONARY XL COBOL DEFINITION EXTRACTOR Reference Manual ] MPE/iX 5.0 Documentation
HP SYSTEM DICTIONARY XL COBOL DEFINITION EXTRACTOR Reference Manual
Error Handling
SDCDE recognizes four different categories of errors. SDCDE responds to
these errors in different ways, depending upon the category. The four
SDCDE error categories are described below.
Syntax errors are errors caused either by mistyping a command or by
specifying an illegal command construction. When these errors are
detected, a caret pointer is displayed pointing to the location of the
error, along with an error message.
Operational warnings are errors that can occur only during source
generation, but are not considered to be serious enough to require
termination of the process. When such an error occurs, a warning message
is issued and source generation continues.
Operational errors are caused by commands that cannot start or continue
execution, due to an invalid operation. For example, issuing the
GENERATE command when no dictionary is open is an operational error.
Another example occurs when an error is encountered during source
generation that is considered serious enough to terminate the process.
An error message is displayed in response to these errors.
Fatal errors are usually disc-related errors over which the program has
very little or no control. When such an error is detected, the program
is terminated. Failure to open $STDINX is such an error. When a fatal
error is detected by the system, the Job Control Word (JCW) is assigned a
value greater than or equal to FATAL.
MPE/iX 5.0 Documentation