Displaying a field without truncation
If a numeric field contains a valid numeric value, but the value is too large to fit in the width allocated to the field (as defined in the original copybook by the PICTURE clause), then the value is truncated. The field is highlighted to indicate that truncation has occurred.
To display the entire field without truncation, you need to edit the view, and specify an output width for the field:
- Press F3 to get to the Database Positioning panel.
- If the view contains two or more segment types,
enter
E
next to the segment type for the field. - Enter
E
next to the field.The Field Attributes panel for the field is displayed.
- In the Output width field, enter a value that is wide enough to display the entire field.
- Press the Exit function key (F3) until you are back at the IMS data panel.
If a field is a table element (defined in the original copybook by an OCCURS clause), then its field heading is followed by a subscript in parentheses; for example, TABLE-ELEMENT(1).