switch-name-1
[ [ IS ] mnemonic-name-1 ]
[ ON [ STATUS IS ] condition-name-1 ]
[ OFF [ STATUS IS ] condition-name-2 ]
At least one of mnemonic-name-1, condition-name-1 or condition-name-2 must be specified.
switch-name-1 is one of SWITCH-0 thru SWITCH-8.
Switches are set by setting the environment variable COBSWITCH to a string of '0' and '1'. SWITCH-0 is represented by the left-most digit, proceding to the right for higher numbered switches.
The following shell commands will set switches 0, 1 and 3 for subsequently executed Kobol programs.
set COBSWITCH=1101 export COBSWITCH