OSPI control variables in the local variable pool


OSPI maintains a set of control variables that indicate the state of each OSPI session. These control variables are maintained in the EXEC's local variable pool. They are updated each time a new buffer image is received from the application.

The variables are shown in the following table: 

Variable name

Description

OSISESS

Session identifier

Must be used with the SESSION keyword on all OSPI IMFEXEC commands (except LOGON) to identify the session you are addressing.

OSIKSTAT

Current keyboard status, either LOCKED or UNLOCKED

OSIAPPL

Name of the VTAM application associated with the OSPI session

OSIROW

Current cursor position, 1 to 43

OSICOL

Current cursor position, 1 to 80

OSILNCNT

Number of rows for the terminal type being emulated, 24 to 43

OSILNnn

One line of the current virtual screen buffer image (for each OSILNnn)

For example, OSILN2 contains line 2 of the current screen buffer image.

 Before an EXEC can use one of the variables, it must be retrieved with an IMFEXEC VGET command; for example, IMFEXEC VGET OSISESS LOCAL.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*