Print the same three lines as in Example 3. This time, assume that
ZLSTTRUN has a value of 5. In preparation, set up conditions to cause
the value of ZLSTTRUN to be 5. This value is the lesser of:
- The logical record length of the list data set minus one (fixed
format) or the record length minus five (variable format).
- The value specified for list data set line length using SETTINGS
option 0.
LSTTEXT is set the same way, and the
LIST request issued the same way, as for Example 3. The difference
in data written to the list data set for Example 4 compared to Example
3 illustrates the truncation:
Example 3 Example 4
1Line 1 1Line
0Line 2 0Line
0Line 3 0Line