Thursday, 14 August 2014

COBOL Perform Statement | In-Line Perform Statement.

Perform Statement
COBOL Perform Statement Tutorial.

The PERFORM statement transfers control explicitly to one or more procedures and implicitly returns control to the next executable statement after execution of the specified procedure(s) is completed. 

The PERFORM statement can be of one of the following two types.

Inline Perform
COBOL Perform Statement

An out-of-line PERFORM statement. In this case a Procedure-name is specified.

An in-line PERFORM statement. In this case the Procedure-name is omitted. An in-line PERFORM must be delimited by the END-PERFORM phrase.
There are four formats of PERFORM statements. They are:
Times phrase PERFORM
COBOL Perform Statement.

No comments:

Post a comment