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.
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:
[RB] represents a required blank.
This function returns a length and a return code.
The following lengths are valid:
The following codes are defined:
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.