Return Parameters

This function returns a length and a return code.
The following codes are defined:
Length Explanation
= 0 The string was not found.
> 0 The string was found at the indicated host presentation space position.
Return Code:
The following codes are defined:
Return Code Explanation
0 The Search Field function was successful.
1 Your program is not connected to a host session.
2 Parameter error. Either the string length was zero, or EOT mode was specified but no EOT character was found in calling data string.
7 The host presentation space position is not valid.
9 A system error was encountered.
24 The search string was not found, or the host presentation space was unformatted.