ILE COBOL Language Reference

Switch-Status Condition

The switch-status condition determines the on or off status of an UPSI switch, by testing the value associated with the condition-name. (The value associated with the condition-name 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.

Switch-Status Condition - Format
 
>>-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.)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]