ASMA226W Specified value is longer than field length - xxxxxxxxx

Explanation

The option FLAG(LONGER) is in effect and 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, this warning is only issued if the implicit length is at least 4 bits more 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.

System action

The value is truncated to fit the field.

Programmer response

Check whether the truncation is intended, and if not use a smaller value or a larger field. To suppress this message, use the option FLAG(NOLONGER).

Severity

4