LONGERWARN

Read syntax diagramSkip visual syntax diagramLONGERWARN=NOLONGERWARN=YES
YES
Instructs the assembler to issue diagnostic warning message ASMA226W if the implicit length of the value for a string constant (type B, C, CU, G, P or Z) is greater than the explicit length of the field. For a hexadecimal field with a length specified in bits, it only issues the warning if the implicit length is at least 4 bits longer than the explicit length, because hexadecimal digits cannot represent less than 4 bits. If FLAG(TRUNC) is also in effect, the truncation warning takes precedence, so this message will only appear if the truncated part of the string value consists of leading zeros for a numeric value or trailing spaces for a character or graphics value.
NO
Instructs the assembler not to issue diagnostic warning message ASMA226W.
Default
LONGERWARN=NO