TRUNC Details (↑ Choosing Run-time Behavior)
◄Key► ◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The possible values of this directive are:
TRUNC Truncate in decimal to the number of digits given by
the PICTURE clause, on all stores into COMP items.
NOTRUNC Truncate in binary to the capacity of the allocated
storage, on all stores into COMP items.
TRUNC "ANSI" Truncate in decimal to the number of digits given by
the PICTURE clause, on non-arithmetic stores into COMP
items. On arithmetic statements that cause the size
error condition and that have no ON SIZE ERROR
phrase, the result is undefined.
-♦-