|Manuals

queryCursorLocation

The queryCursorLocation function indicates the position of the cursor in the host-connected presentation space by returning the cursor position.

3270 5250
Yes Yes

Prerequisite Calls

connectPresentationSpace

Call Parameters

This function does not take any call parameters.

Return Properties

Property name Explanation
returnCode A numeric code indicating the execution status of the function. Please refer to the Return Code table below for all possible values.
position Host presentation space position of the cursor.

Return Code

The following values are defined for the returnCode property:

Return Code Explanation
0 The queryCursorLocation function was successful.
1 Your program is not connected to a host session.

Remarks

  1. This function is equivalent to HLLAPI Function Number 7.

  2. If Return Code is 1, the position property will be 0.