Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


Switch-status condition

The switch-status condition determines the on or off status of an UPSI switch.

Format
Read syntax diagramSkip visual syntax diagram>>-condition-name----------------------------------------------><
 
condition-name
Must be defined in the special-names paragraph as associated with the on or off value of an UPSI switch. (See SPECIAL-NAMES paragraph.)

The switch-status condition tests the value associated with condition-name. (The value is considered to be alphanumeric.) The result of the test is true if the UPSI switch is set to the value (0 or 1) corresponding to condition-name. See “UPSI” in the COBOL for Windows Programming Guide.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)