Use this file-, record-, or field-level keyword for named fields that are defined such that they overflow onto subsequent display lines or for continued-entry fields.
The keyword causes wrapping to occur at a blank in the data rather than at the end of the data line. It is used to make long text fields easier to read. The default is for data to be wrapped at the end of the physical line or continued-entry field segment.
This keyword can only be specified on fields that have a usage of input-only (I) or input/output (B).
This keyword has no parameters.
Option indicators are not valid for this keyword.
The following example shows how to specify the WRDWRAP keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A R RECORD1 A FIELD1 100A O 1 17 A FIELD2 100A I 4 17WRDWRAP A FIELD3 100A B 7 17WRDWRAP A FIELD4 100A B 10 17 A FIELD5 100A O 13 17 A
In this example, RECORD1 is defined with input, output, and both fields. FIELD2 and FIELD3 will have the benefit of word wrap when the display is attached to a controller that supports an enhanced interface for nonprogrammable workstation. FIELD4 will not have the benefits of word wrap.