FLAG

Read syntax diagramSkip visual syntax diagram         .-,---------------------.    
         V   .-0-------.    (1)  |    
>>-FLAG(---+-+---------+--+------+-)---------------------------><
           | '-integer-'  |           
           | .-ALIGN---.  |           
           +-+---------+--+           
           | '-NOALIGN-'  |           
           | .-CONT---.   |           
           +-+--------+---+           
           | '-NOCONT-'   |           
           | .-NOIMPLEN-. |           
           +-+----------+-+           
           | '-IMPLEN---' |           
           | .-NOPAGE0-.  |           
           +-+---------+--+           
           | '-PAGE0---'  |           
           | .-PUSH---.   |           
           +-+--------+---+           
           | '-NOPUSH-'   |           
           | .-RECORD---. |           
           +-+----------+-+           
           | '-NORECORD-' |           
           | .-NOSUBSTR-. |           
           +-+----------+-+           
           | '-SUBSTR---' |           
           | .-USING0---. |           
           +-+----------+-+           
           | '-NOUSING0-' |           
           | .-EXLITW---. |           
           '-+----------+-'           
             '-NOEXLITW-'             
 
Notes:
  1. Choose at least one option.
Default
FLAG(0, ALIGN, CONT, NOIMPLEN, NOPAGE0, PUSH, RECORD, NOSUBSTR, USING0, EXLITW)
Abbreviations
AL, NOAL, IMP, NOIMP, PG0, NOPG0, PU, NOPU, RC, NORC, SUB, NOSUB, US0, NOUS0
Parameter of ACONTROL statement
You can specify the FLAG option as a parameter of the ACONTROL statement. For further details, refer to the "ACONTROL instruction" in the HLASM Language Reference.
integer
Specifies that error diagnostic messages with this or a higher severity code are printed in the source and object section of the assembly listing. Error diagnostic messages with a severity code lower than integer do not appear in the source and object section, and the severity code associated with those messages is not used to set the return code issued by the assembler. Any severity code from 0 through 255 may be specified. Error diagnostic messages have a severity code of 0, 2, 4, 8, 12, 16, or 20. MNOTEs can have a severity code of 0 through 255.

When specified with the TERM assembler option, FLAG controls which messages are displayed in the terminal output.

ALIGN
Instructs the assembler to issue diagnostic message ASMA033I when an inconsistency is detected between the operation code type and the alignment of addresses in machine instructions. Assembler option ALIGN describes when the assembler detects an inconsistency.
NOALIGN
Instructs the assembler not to issue diagnostic messages ASMA033I, ASMA212W and ASMA213W when an inconsistency is detected between the operation code type and the alignment of addresses in machine instructions.
CONT
Specifies that the assembler is to issue diagnostic messages ASMA430W through ASMA433W when one of the following situations occurs in a macro call instruction:
Note:
FLAG(CONT) checks only apply to statements that appear in the output listing.
NOCONT
Specifies that the assembler is not to issue diagnostic messages ASMA430W through ASMA433W when an inconsistent continuation is encountered.
IMPLEN
Instructs the assembler to issue diagnostic message ASMA169I when an explicit length subfield is omitted from an SS-format machine instruction.
NOIMPLEN
Instructs the assembler not to issue diagnostic message ASMA169I when an explicit length subfield is omitted from an SS-format machine instruction.
PAGE0
Instructs the assembler to issue diagnostic message ASMA309W when an operand is resolved to a baseless address and a base and displacement is expected. This message is only issued for instructions that reference storage. For example, a LOAD instruction generates the message but a LOAD ADDRESS instruction does not generate the message.
NOPAGE0
Instructs the assembler not to issue diagnostic message ASMA309W when an operand is resolved to a baseless address and a base and displacement is expected.

The FLAG suboptions PAGE0 and IMPLEN are specified in the installation default options as PAGE0WARN and IMPLENWARN respectively.

PUSH
Instructs the assembler to issue diagnostic warning message ASMA138W when a PUSH/POP stack is not empty at the completion of a compile.
NOPUSH
Instructs the assembler to suppress diagnostic warning message ASMA138W when a PUSH/POP stack is not empty at the completion of a compile.
RECORD
Instructs the assembler to do the following:
NORECORD
Instructs the assembler to do the following:
SUBSTR
Instructs the assembler to issue warning diagnostic message ASMA094I when the second subscript value of the substring notation indexes past the end of the character expression.
NOSUBSTR
Instructs the assembler not to issue warning diagnostic message ASMA094I when the second subscript value of the substring notation indexes past the end of the character expression.
USING0
Instructs the assembler to issue diagnostic warning message ASMA306W for a USING that is coincident with or overlaps an implied USING 0,0, when the USING(WARN) suboption includes the condition numbers 1 and/or 4.
Note:
Message ASMA302W is issued when R0 is specified as a base register with a non-zero base address, and message ASMA306W is issued when any register other than R0 is specified as a base register with an absolute base address whose range overlaps the assembler's default (0,4095).
NOUSING0
Instructs the assembler to suppress diagnostic warning message ASMA306W.
Note:
Message ASMA302W is issued when R0 is specified as a base register with a non-zero base address, and message ASMA306W is issued when any register other than R0 is specified as a base register with an absolute base address whose range overlaps the assembler's default (0,4095).
EXLITW
Instructs the assembler to issue diagnostic warning ASMA016W when a literal is used as the object of an EX instruction.
NOEXLITW
Instructs the assembler to suppress diagnostic warning message ASMA016W when a literal is used as the object of an EX instruction.

The FLAG suboptions ALIGN, CONT, IMPLEN, PAGE0, PUSH, RECORD, SUBSTR, USING0, and EXLITW are specified in the installation default options as ALIGNWARN, CONTWARN, IMPLENWARN, PAGE0WARN, PUSHWARN, RECORDINFO, SUBSTRWARN, USING0WARN, and EXLITW respectively.

For information about installation default options, please refer to the HLASM Installation and Customization Guide.


[ Top of Page | Previous Page | Next Page | Contents | Index ]