Find Field Position (31) |
Top Previous Next |
The Find Field Position function returns the beginning position of a target field in the host-connected presentation space. This function can be used to find either protected or unprotected fields but only in a field-formatted host presentation space.
Prerequisite Calls
Connect Presentation Space (1)
Call Parameters
Note: PS Position: Identifies the field within the host presentation space at which to start the Find. It can be the PS position of any byte within the field in which you want the Find to start.
The calling 2-character data string can contain:
Note: [RB] represents a required blank.
Return Parameters
This function returns a length and a return code.
Length
The following lengths are valid:
Return Code
The following codes are defined:
Remarks
Except when [RB][RB] or T [RB] is used as the calling data string, if the field found is the same as the field from which the Find started, a return code of 24 is returned. |