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.
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:
COBOL Perform Statement. |
No comments:
Post a Comment