SETCURSOR

LANSA Integrator

SETCURSOR

The SETCURSOR command sets the position of the cursor on the current aXes terminal screen. It is analogous to using the arrow or tab keys to move the cursor at a 5250 terminal. Some 5250 applications or screens are sensitive to the cursor position and may exhibit different functionality dependent upon it.

 

                                                          Required

 

 SETCURSOR ------- CURSORROW ------- cursor row number ---------->

  

               >-- CURSORCOL ------- cursor column number -------|

 

Keywords

CURSORROW

Required. The cursor row number to set.

CURSORCOL

Required. The cursor column number to set.

 

Examples

RDML Example:

CHANGE FIELD(#JSMCMD) TO('SETCURSOR CURSORROW(8) CURSORCOL(44)'

USE BUILTIN(JSM_COMMAND) WITH_ARGS(#JSMCMD) TO_GET(#JSMSTS #JSMMSG)

 

RDMLX Example:

#jsmcommand := 'SETCURSOR CURSORROW(8) CURSORCOL(44)'

use builtin(jsmx_command) with_args(#jsmhandle #jsmcommand) to_get(#jsmstatus #jsmmessage)