Return Parameters

This function returns a length and a return code.
Length:
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 Presentation Space function was successful.
1 Your program is not connected to a host session.
2 An error was made in specifying parameters.
7 The host presentation space position is not valid.
9 A system error was encountered.
24 The search string was not found.