The IOA Online facility can be activated under the VTAM environment, and is therefore available for KOA processing.
Note: The IOA Online facility is also available under various online communication systems (for example, CICS, IMS/DC, TSO). Therefore, KOA scripts can access the IOA Online environment directly through these facilities.
Since KOA is basically an extension of KSL, every KSL script (with minor modifications) can be run as a KOA script. This is achieved by including a few communication commands in the script, as in the sample script (member RUKORDER in IOA SAMPLE library) shown below:
Table 23 KOA Sample Script to Access the IOA Online Facility
Command |
Explanation |
---|---|
KSL Commands: |
|
TRACE OFF |
Turn the Trace facility off. |
MAXCOMMAND 999999 |
Limit the number of times a command can be executed to 999999. |
CALLMEM SET2480 |
Call predefined KSL script SET2480, which sets screen size. |
CALLMEM SET60132 |
Call predefined KSL script SET60132, which sets page size. |
KOA Communication Commands: |
|
LOGON APPLID IOAVTAM SESSID IOA DATA TMNK |
Issue KOA command LOGON to log on to application IOAVTAM – the IOA Online environment. Call this session IOA and send TMNK as data to the logon process. |
KSL Script Call: |
|
CALLMEM ORDERRUL RULORDER LIBRARY RULNAME ODATE O |
Call predefined KSL script ORDERRUL, and pass arguments RULORDER, LIBRARY, RULNAME, ODATE and O. |
KOA Communication Command: |
|
LOGOFF |
Disconnect from the IOA Online environment. |
KSL Command: |
|
END |
Terminate the script. |
Parent Topic |