ILE COBOL Language Reference

Format 4 - Condition-names

When Format 4 of the SET statement is executed, the value associated with a condition-name is placed in its conditional variable.

SET Statement - Format 4
 
        .------------------.
        V                  |
>>-SET----condition-name-1-+--TO TRUE--------------------------><
 
 
condition-name-1
Must be associated with a conditional variable.

If more than one literal is specified in the VALUE clause of condition-name-1, its associated conditional variable is set to the first literal.

If multiple condition-names are specified, the results are the same as if a separate SET statement had been written for each condition-name in the same order in which the condition-names are specified.


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