The JUSTIFIED clause specifies non-standard positioning of data within a receiving data item.
, or for a
pointer data item
.
The contents of the sending data item are not taken into account, that is, trailing spaces within the sending data item are not suppressed.
For example, if a data item PIC X(4) whose value is "A " (that is, A followed by three spaces) is moved into a data item PIC X(6) JUSTIFIED the result is " A ". If the same data item is moved to one with PIC X(3) JUSTIFIED the result is " " that is, the leftmost character is truncated.