With an exception, numeric literals in a VALUE clause of an item must
have a value that is within the range of values indicated by the PICTURE clause
for that item. For example, for a PICTURE of 99PPP, the literal must fall
within the range of 1 000 through 99 000, or it must be zero. For
a PICTURE of PPP99, the literal must fall within the range of 0.000 00
through 0.000 99.
The exceptions are the following:
- Data items described with usage COMP-5 that do not have a picture symbol P
in their PICTURE clause.
- When the *NOSTDTRUNC
compiler option is in effect, data items described with usage BINARY or COMP-4
that do not have a picture symbol P in their PICTURE clause.
A VALUE clause
for these items can have a value up to the capacity of the native binary representation.