z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Splitting lines within a DBCS string

z/OS ISPF Edit and Edit Macros
SC19-3621-00

You can split a line within a DBCS string based on these rules:
  • When splitting at a DBCS character, an SI character is added to the end of the line and an SO character is added at the beginning of the new line.
  • If the cursor is placed at the SO character, the SO character becomes the first character to be moved.
  • If the cursor is placed at the SI character, the character following the SI character becomes the first character to be moved.
  • If the mask contains DBCS fields and some of the DBCS fields cross the left, right, or both column boundaries, the result is unpredictable.
If you use the TS line command while editing a formatted data set, you make special considerations for the current boundaries. These 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.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014