5.3.12 SEND
The SEND command sends the current aXes screen data to the aXes terminal server. It is comparable to pressing the ENTER key (by default) or a function key at a 5250 terminal.
To exchange field RTNSIG and RTNSCREEN values, you will need to specify the SERVICE_EXCHANGE(*FIELD) in the command string.
Syntax:
Command |
Keyword |
Value |
Developer notes |
SEND |
SENDKEY |
ENTER |
Default. The function key to send. |
F1 - F24 |
|
||
HELP |
|
||
|
|
||
PAGE_UP |
|
||
PAGE_DOWN |
|
||
ROLL_UP |
|
||
ROLL_DOWN |
|
||
CURSORROW |
cursor row number |
Optional. The cursor row number to send. |
|
CURSORCOL |
cursor column number |
Optional. The cursor column number to send. |
|
RTNSIG |
field-name |
Optional. 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 following the send operation. |
|
RTNSCREEN |
field-name |
Optional. The name of a field exchanged between your client program and the JSM that will receive the name of the screen that is present following the send operation. 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
SEND SENDKEY(F3) RTNSCREEN(MYSCREEN) SERVICE_EXCHANGE(*FIELD)