Specifies the size of the data item on the screen. You can use this phrase with elementary data items only.
The SIZE phrase has no effect if the size you specify is zero. In this case, the length of the field is used to display the data item.
If you specify a size that is less than the size implied by the associated PICTURE clause, only the leftmost portion of the data item appears on the workstation display.
When the size specified for a numeric or numeric-edited data item is less than that implied by the PICTURE clause, truncation of the rightmost positions occurs when the value is displayed, or predisplayed in the ACCEPT operation. The data item is then updated following the rules for the MOVE operation.
If you specify a SIZE literal whose value causes the field length to exceed the screen size, alphanumeric data will be truncated and numeric data will be ignored and not displayed.
For justified items, only the rightmost portion appears when you specify a size that is smaller than the length of the item.
If the size you specify is greater than the size implied by the PICTURE clause, the displayed version of the item is padded with spaces. The padding occurs on the right.