Previous Topic

Next Topic

Book Contents

Book Index

Special Servers

Each Special server is associated with a specific preset environment. More than one server can be associated with a preset environment.

Control-O dedicates a request queue for all requests (DO KSL and DO TSO statements) sent to each preset environment.

When a request is received for a preset environment, it is executed by the first available Special server associated with that environment.

The first request for a Special server triggers an INIT call which initializes the environment prior to the request execution. Further requests for that Special server trigger a RESET call, and the preset environment is reset to post-initialization status prior to the request execution.

When the server is shutdown, a TERM call is made to the procedure and the preset environment is terminated.

Example

Various rules require access to CICS in order to activate CICS transactions. A preset environment can be defined for running those CICS transactions.

Assuming that the CICSP special server has been defined in Control-O at time of installation, a KOA script of the same name (CICSP) should be created to handle the three functions of initialization, reset, and termination of the corresponding preset environment.

When executing the following statement:

DO KSL TRAN1

INITPROC CICSP

The TRAN1 KOA script is queued for execution in the corresponding preset environment request queue, and executed by the first CICSP server available. The KOA script is executed while the CICS logon and logoff are performed transparently to the rule.

Parent Topic

Control-O Server Types