-qhaltonmsg

Category

Error checking and debugging

Purpose

Stops compilation before producing any object files, executable files, or assembler source files if a specified error message is generated.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-nohaltonmsg--------------------------.   
        |               .-:------------------. |   
        |               V                    | |   
>>- -q--+-haltonmsg--=----message_identifier-+-+---------------><

@PROCESS:

@PROCESS HALTONMSG(message_identifier[, message_identifier[, ...]]) | NOHALTONMSG

Defaults

-qnohaltonmsg

Parameters

message_identifier[:message_identifier ...]
Stops compilation before producing any object files, executable files, or assembler source files if a specified error message (nnnn-mmm) or a list of messages (nnnn-mmm[:nnnn-mmm ...]) is generated. To specify a list of messages, separate each message number with a colon.
nnnn-mmm is the message number, where:
  • nnnn must be a four-digit integer between 1500 and 1585; this is the range of XL Fortran message numbers.
  • mmm must be any three-digit integer (with leading zeros if necessary).

Usage

When the compiler stops as a result of the -qhaltonmsg option, the compiler return code is nonzero. The severity level of a message that is specified by -qhaltonmsg is changed to S if its original severity level is lower than S.

If -qflag=u:u or -qflag=q:q is specified, the message specified by -qhaltonmsg is not shown.

-qhaltonmsg has precedence over -qsuppress and -qflag.

Related information