You can restructure paragraphs containing lines that include DBCS
strings based on these rules:
- If a character in a DBCS string encroaches on the rightmost
column position for the restructured text, the string is divided
before that character. An SI character is added at the end of the
line, and an SO character is added at the beginning of the new line.
- If the boundaries are defined and a DBCS character is on the
boundary, the DBCS character is in the text flow operation. An SO or
SI character is added to both lines to ensure that DBCS character
strings remain enclosed with SO and SI characters.
- If the mask contains DBCS fields and some of the DBCS fields
cross the left, right, or both boundaries, the result may be
unpredictable.
- If a DBCS string crosses the left, right, or both boundaries, the
result may be unpredictable.
- When a text flow operation causes a field length of zero, the
SO/SI or SI/SO character strings that are next to each other are
removed.
If you use the TF line command while editing a formatted data set,
note these points:
- The current boundaries are automatically changed during command
processing, and are reset to the original values after processing is
complete. Changes are as follows:
- If the left boundary falls on the second byte of a DBCS character
in a DBCS field, the boundary is shifted to the left by 1 byte.
- If the right boundary does not fall on the same field as the left
boundary, it is shifted to the last byte of the field that contains
the left boundary. If it falls on the same DBCS field as the left
boundary, and it also falls on the first byte of a DBCS character,
the right boundary is shifted to the right by 1 byte.
- If you specify the column number with the TF command, and if the
column falls on the first byte of a DBCS character in a DBCS field,
the column number increases by one.