Monday, 28 July 2014

COBOL SET Statement.

The statement is used to transamit data to an index or to increase or to decrease the value of the index. 

The Set to True statement turns on the condition specified by a condition name. In other words, it sets the related field to the value specified by an 88-level description.

If a condition has more than one value, the Set to True statement sets the condition to the first value given by the Value clause. 

Format : SET variable_name TO TRUE

Example : 


Note : Use the Set to True statement to turn on all conditions that are represented by condition names.


Created with Artisteer

No comments:

Post a Comment