[ Previous | Next | Contents | Search ]
3270 Host Connection Program 2.1 and 1.3.3 for AIX: Guide and Reference

QUERY CURSOR LOCATION (7)

Purpose

Returns the cursor position from the presentation space (PS).

Prerequisite Calls

This function requires a prerequisite call to the CONNECT PRESENTATION SPACE (1) function.

Syntax

hllc (func, apistring, len, ret)
int *func;
char *apistring;
int *len;
int *ret;

Supplied Parameters

Supply the following parameters to invoke the QUERY CURSOR LOCATION function:

func Specifies the number of the function called; must be 7 for the QUERY CURSOR LOCATION function.
apistring Does not apply for this function.
len Does not apply for this function (length of two is implied).
ret Does not apply for this function.

Returned Parameters

len Specifies the presentation space position of the cursor.
ret The following codes are valid:
0 Indicates the QUERY CURSOR LOCATION function was successful.
1 Indicates your program was not connected to the host session.
9 Indicates a system error occurred.

Remarks

The QUERY CURSOR LOCATION function indicates the position of the cursor in the host-connected presentation space (PS) by returning the cursor position.

Related Information

CONNECT PRESENTATION SPACE (1) function and QUERY SYSTEM (20) function.


[ Previous | Next | Contents | Search ]