KOA runs as a VTAM application, which emulates a terminal (according to specified parameters) and establishes a session with the VTAM application through the LOGON command.
KOA Logic