CBL_SET_CSR_POS

The CBL_SET_CSR_POS routine is one of a set of library routines that facilitate reading and writing attributes on the screen. This routine moves the cursor.

Usage

CALL "CBL_SET_CSR_POS" 
    USING SCREEN-POSITION
    RETURNING STATUS-CODE

Parameters

SCREEN-POSITION Group item Group item is defined as follows:
01  SCREEN-POSITION.
    03  ROW-NUMBER      PIC X COMP-X.
    03  COLUMN-NUMBER   PIC X COMP-X.

On entry, contains the screen position at which to put the cursor (the top left corner is row 0, column 0)

STATUS-CODE Any numeric type    Returns 1 if successful, or 0 if not successful

Description

This library routine uses SCREEN-POSITION (in row and column coordinates) to move the cursor to a particular location on the screen.

Note: This routine is not supported with Thin Client.