Previous Topic

Next Topic

Book Contents

Book Index

Global Variables

Table 23 Global Variables

Variable

Description

%%COS_OPT

The startup option most recently selected by the operator during Control-O/COSMOS initialization.

%%COSCPUNUM

The number of CPUs specified in member COSMOLST.

%%COSDB_n

The name of the nth Working Object database.

%%COSDBNUM

The number of Object databases being used by Control-O/COSMOS.

%%COSDEMOMODE

Whether Control-O/COSMOS demonstration databases are in use. Valid values are YES and NO.

%%COSDOWN_n

The DOWN value for the nth Object database.

%%COSFFLGS

The Control-O/COSMOS subtask flags (for future use).

%%COSINX_dbname

The serial number (for example, 1, 2, or 3) of database dbname.

%%COSLIBRARY

Unchangeable rules library. Default: IOAprefix.IOAENV.

%%COSMEM

Unchangeable rules member. Default: $COSMOSO.

%%COSMT_n

The name of the nth Method database.

%%COSOFLGS

The operation flags (for future use).

%%COSPREFIX

The prefix of Control-O started tasks (STCs), %PROCPRFO. Used to accept, reject, or prefix the commands submitted to or issued from this IOA installation.

%%COSPRETB

The name of the Control-O/COSMOS Prerequisite database.

%%COSSRCDB_n

The name of the nth Source Object database.

%%COSSTC

The name of the Object database containing definitions of started tasks controlled by Control-O/COSMOS.

%%COSTASKW

The desired status of the Control-O/COSMOS facility. Rule USRCLEAR, which is triggered at Control-O startup, sets this variable to DOWN. If you want Control-O/COSMOS to be initialized during Control-O startup, edit this rule and set the variable to UP.

%%COSUNKN_n

The UNKNOWN value for the nth Object database.

%%COSUP_n

The UP value for the nth Object database.

%%COSYSPLEX

Whether Control-O/COSMOS works in a Sysplex environment, and what type of database it uses. Valid values are:

  • YES – Control-O/COSMOS is working in a Sysplex environment and is using a Syslpex (XAE type 1) database.
  • NO – Either Control-O/COSMOS is not working in a Sysplex environment, or it is, but is not using a Sysplex database.

%%CPU_n

The SMF ID or SYSTEM ID of the nth CPU.

%%CTO659I

The number of CTO659I messages processed by the SYSIMAGE facility.

%%USRLIBRARY

Changeable rules library. Default: CTOprefix.RULES.

%%USRMEM

Changeable rules member. Default: $COSMOSU.

Parent Topic

AutoEdit Variables Used by Control-O/COSMOS Rules