Query Cursor Location (7)

Top  Previous  Next

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

 

3270

5250

Yes

Yes

 

 

Prerequisite Calls

 

Connect Presentation Space (1)

 

 

Call Parameters

 

 

Standard Interface

Enhanced Interface

Function Number

Must be 7

 

Data String

NA

 

Length

NA

 

PS Position

NA

 

 

 

Return Parameters

 

This function returns a length and a return code.

 

Length

 

Host presentation space position of the cursor.

 

Return Code

 

The following codes are defined:

 

Return Code

Explanation

0

The Query Cursor Location function was successful.

1

Your program is not currently connected to a host session.

9

A system error was encountered.