Previous Topic

Next Topic

Book Contents

Book Index

Session Logoff

The VTAM application session is disconnected through the LOGOFF command.

With KOA, several VTAM application sessions can be active at the same time. A unique session identifier is assigned to each session, so that a KOA script can switch back and forth between active sessions.

Figure 1 VTAM Session LOGOFF

Two-way communication is established and maintained throughout a VTAM application session. An implied "send and receive" relationship forms the basis of communication – for every keyboard input that is sent by KOA, a matching response is received from the VTAM application. For example, KOA transmits (sends) the PF01 key command, and the VTAM application responds by displaying help information.

This two-way communication represents the default method of exchanging information between KOA and VTAM. The KOA language also contains commands that allow you to change this method. For example, updated screens from the VTAM application can be received repeatedly without KOA first sending a request.

For information about creating and running scripts, see Activating the KOA Language.

Parent Topic

KOA Logic