Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
PARSE z/OS TSO/E REXX Reference SA32-0972-00 |
|
In EBCDIC:
The leading and trailing SO and SI are unnecessary for word parsing
and, thus, they are stripped off. However, one pair is still needed
for a valid mixed DBCS string to be returned.
Here the first blank delimited the word and the SO is added to
the string to ensure the DBCS blank and the valid mixed string.
The word delimiting allows for unnecessary SO and SI to be dropped.
Note that for the last three examples '', <>, and <><> are each a null string (a string of length 0). When parsing, the null string matches the end of string. For this reason, w1 is assigned the value of the entire string and w2 is assigned the null string. |
Copyright IBM Corporation 1990, 2014
|