Previous Topic

Next Topic

Book Contents

Book Index

Preset Environment Concept

A preset environment is a state of initialization necessary for the execution of certain DO KSL and DO TSO statements. A preset environment is managed entirely by the procedure specified in the INITPROC subparameter in the rule definition. The procedure is either a KOA script, or a TSO command, CLIST or REXX procedure. Procedures handling KOA or TSO environments must be defined to Control-O prior to activation of the rules that call the procedures. Depending on the type of call (INIT, RESET, TERM) to the procedure, the preset environment is initialized, reset, or terminated.

For example, for a preset environment named CICSP, a KOA script called CICSP should be defined to perform the environment functions shown in Table 195, which are passed as a parameter.

Table 195 Preset Functions for the CICSP Environment - Example

Function

Description

INIT call

Performs CICS logon

RESET call

Clears the screen

TERM call

Performs CICS logoff and terminates the CICS environment

The type of server determines the instances in which each of the calls is performed.

Parent Topic

Control-O Servers