The types of errors that are detected at compile time include syntax errors, references to variables and labels not defined, and missing statements.
In the compiler listing of a module, an error condition that relates directly to a specific command is listed after that command. Messages that do not relate to a specific command but are more general in nature are listed in a messages section of the listing, not inline with source statements.
The following types of errors stop the procedure from being created (severity codes are ignored).
Even after an error that stops the procedure from being created is encountered, the compiler continues to check the source for errors. This lets you see and correct as many errors as possible before you try to create the module or program again.