Table 14 KOA Screen Commands
Command |
Description |
---|---|
ATTN |
Equivalent to pressing the Attn key on the keyboard. |
CLEAR |
Equivalent to pressing the Clear key on the keyboard. |
Table 15 KOA Flow Commands
Command |
Description |
---|---|
ON SCREENERROR [GOTO label] |
Permits branching based on communication exception conditions. An example of an exception is a VTAM application that does not accept a logon command. This command can be activated any number of times within a script to change the method of exception handling. Each time command ON SCREENERROR is activated, the previous setting is overridden. The new setting takes effect from the point it is specified in the script onward. |
GOTO |
The script flow branches to the specified label name (must be in the same command member). |
Table 16 KOA Communication Commands
Command |
Description |
---|---|
COLOR {ON|OFF} |
Specifies color and highlight capabilities of terminal emulation. If LOGMODE is not specified when logging in to the VTAM application, KOA uses this command to determine the terminal emulation type. For more information see KOA Implementation Considerations. ON – Emulates a terminal which supports extended data stream (colors and highlights). OFF – Emulates a terminal which does not support extended data stream (colors and highlights). Default. |
GETSCREEN |
Instructs KOA to refresh the screen with updated information from the VTAM application, without waiting for keyboard input. |
|
The LOGON command allows logging on to a VTAM application. The APPLID and SESSID parameters are mandatory. Other optional parameters (listed below) can be specified to define terminal name and emulation type.
If LOGMODE is not specified, KOA uses information provided in commands COLOR and SCREENSIZE to find a valid predefined logmode in CTOPARM which supports these characteristics. For more information refer to "KOA Implementation Considerations" later in this chapter.
If TERMINAL is not specified, KOA uses information provided in member CTOPARM to dynamically select a terminal name. For more information refer to "KOA Implementation Considerations" later in this chapter. |
LOGOFF |
Logs off or disconnects from the VTAM application. |
SCREENMODE {UNLOCKED|ANY} |
Indicates type of screens to be received by the KOA script. This command can be activated any number of times within a script to re-specify the screen mode.
|
SCREENMODE {RECEIVE|NORECEIVE} |
Indicates if information (messages and screens) should be received from the VTAM application. This command can be activated any number of times within a script to re-specify the screen mode.
|
SCREENMODE {GETUNSOL|IGNUNSOL} |
Indicates type of information (messages and screens) to be received from the VTAM application. This command can be activated any number of times within a script to respecify the screen mode.
|
SETSESS sessid |
Switches (shifts) to the session with the specified session ID. |
TIMEOUT value |
Specifies how many seconds KOA should wait for a response from the VTAM application before disconnecting the session. If not specified, the default value (as specified in the Control-O Installation Parameters) determines the TIMEOUT value. |
Parent Topic |