SEMANTIC

The SEMANTIC option specifies that the execution of the semantic checking stage depends on the severity of messages issued before this stage of processing.

Read syntax diagramSkip visual syntax diagram
   .---NOSEMANTIC----+-------------+-.   
   |                 |    .-S-.    | |   
   |                 '-(--+-W-+--)-' |   
   |                      '-E-'      |   
>>-+-SEMANTIC------------------------+-------------------------><

ABBREVIATIONS: SEM, NSEM

SEMANTIC
Equivalent to NOSEMANTIC(S).
NOSEMANTIC
Processing stops after syntax checking. No semantic checking is performed.
NOSEMANTIC (S)
No semantic checking is performed if a severe error or an unrecoverable error has been encountered.
NOSEMANTIC (E)
No semantic checking is performed if an error, a severe error, or an unrecoverable error has been encountered.
NOSEMANTIC (W)
No semantic checking is performed if a warning, an error, a severe error, or an unrecoverable error has been encountered.

Semantic checking is not performed if certain kinds of severe errors are found. If the compiler cannot validate that all references resolve correctly (for example, if built-in function or entry references are found with too few arguments) the suitability of any arguments in any built-in function or entry reference is not checked.