5.2.7 GET

The client application may issue the GET command to receive attributes associated with the aXes terminal session into named client program variables.

To exchange return field values (i.e. fields RTNxxxxx), you will need to specify the SERVICE_EXCHANGE(*FIELD) in the command string.

Syntax:

Command

Keyword

Value

Developer notes

GET

RTNCURSORROW

field-name

The name of a field exchanged between your client program and the JSM that will receive the row number component of the current screen cursor position.

RTNCURSORCOL

field-name

The name of a field exchanged between your client program and the JSM that will receive the column number component of the current screen cursor position.

RTNDEVICENAME

field-name

The name of a field exchanged between your client program and the JSM that will receive the 5250 device name used by the current aXes terminal session.

RTNJOBUSER

field-name

The name of a field exchanged between your client program and the JSM that will receive the user name portion of the i/OS job name for the current aXes terminal session.

RTNJOBNUMBER

field-name

The name of a field exchanged between your client program and the JSM that will receive the job number portion of the i/OS job name for the current aXes terminal session.

RTNSCREENWIDTH

field-name

The name of a field exchanged between your client program and the JSM that will receive the current screen width for the aXes terminal session. Note that this value refers to the screen currently displayed, not maximum device capabilities.

RTNSCREENHEIGHT

field-name

The name of a field exchanged between your client program and the JSM that will receive the current screen height for the aXes terminal session. Note that this value refers to the screen currently displayed, not maximum device capabilities.

RTNSYSTEMNAME

field-name

The name of a field exchanged between your client program and the JSM that will receive the i/OS system name for the current aXes terminal session.

RTNSIG

field-name

The name of a field exchanged between your client program and the JSM that will receive the screen signature of the screen that is present.

RTNSCREEN

field-name

The name of a field exchanged between your client program and the JSM that will receive the name of the screen that is present. The screen name is the user-defined name if an aXes project name was specified on the CONNECT command and a name was assigned to the screen. Otherwise the screen signature is returned.

 

Example

GET RTNJOBUSER(MYJOBUSR) RTNJOBNUMBER(MYJOBNUM) SERVICE_EXCHANGE(*FIELD)