Previous Topic: MSGID Return CodesNext Topic: MVCURSOR Return Codes


EPI MVCURSOR—Move Cursor Position

The EPI MVCURSOR command moves the cursor to the named row and column position on the virtual terminal screen.

EPI MVCURSOR has the following format:

ADDRESS EPI "MVCURSOR keywords"
/* You must specify a value for each keyword.   */
  {termname|*}
  {row}
  {col}
termname

Defines the name of the virtual terminal for which you are specifying cursor position.

*

Moves the cursor for the current terminal that is defined through the SETTERM command.

row

Identifies the number of the row where you want to place the cursor.

col

Identifies the number of the column where you want to place the cursor.

EPI MVCURSOR Sample Coding Statements

The following sample coding statement moves the cursor to column 1 of row 1:

MVCURSOR TERM01 1 1