Search Field (30)
3270 | 5250 | VT |
---|---|---|
Yes | Yes | Yes |
The Search Field function examines a field within the connected host presentation space for the occurrence of a specified string. If the target string is found, this function returns the decimal position of the string numbered from the beginning of the host presentation space. (For example, in a 24-row by 80-column presentation space, the row 1, column 1 position is numbered 1 and the row 5, column 1 position is numbered 321.)
This function can be used to search either protected or unprotected
fields, but only in a field-formatted host
presentation space.
Note: If the field at the end of the
host presentation space wraps, wrapping occurs when the end of the
presentation space is reached.