Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Datastream for Db2 7.1.

SWITCH statement


A SWITch statement sets one or more named software switches on or off. Software switches are referenced by the IF parameter of certain BMC AMI Defender statements. For more information, see FOR-and-IF-statements. SWITch is ignored by CZASEND.

The SWITch statement is in the $$$CONFG member. 

Important

You can modify the $$$CONFG member in the amihlq.CZAGENT.PARM data set.

For more information about the $$$CONFG member, see Customizing-for-a-proprietary-syslog-extension

SWITCH.png

If a switch has not been previously defined, it is defined by the SWITch statement. Switch names might be of any length and are not case-sensitive: MYSWITCH, myswitch and MySwitch are equivalent. You might define any number of switches.

The operands of SWITch are processed cumulatively from left to right. For example, to set the RMF and Scty switches on and the Perf switch off, use the following code:

SWITCH ON(Perf RMF) OFF(Perf) ON(Scty)

SWITch uses the following parameters:

Parameter

Description

SWITch

Identifies the start of the SWITch statement

for and/or if

OFF( switch ...)

One or more software switches to be set off

ON( switch ...)

One or more software switches to be set on



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*