Monday, 28 July 2014

COBOL TIMES phrase PERFORM

The procedure(s) referred to in the TIMES phrase PERFORM statement are executed the number of times specified by the value by the identifier or integer.

                                            OR 

A statement that instructs the computer to iterate, or execute a sequence of steps, a fixed number of times. 

Format :

PERFORM [procedure-name]
{identifier | literal} TIMES
[statement-1 ...]
[END-PERFORM]
Example : 
       


Created with Artisteer

No comments:

Post a Comment