Loading...
   
      
 
                    Select Version
                  
                   
                
                          Function
The switch-status condition tests the setting of an implementor-defined user or task switch. The implementor-name and the ON or OFF value associated with the condition must appear in the SPECIAL-NAMES paragraph of the Environment Division.
Format
 condition-name 
Syntax rules
The result of the test is true if the switch is set to the position corresponding to condition-name.
The status of a switch can be changed by means of a format 3 SET statement (see “Format 3” in section "SET statement").