ILE COBOL Language Reference


PERFORM Statement

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) or imperative statements is completed.

The PERFORM statement can be:

An out-of-line PERFORM statement
Procedure-name-1 is specified.
An in-line PERFORM statement

Procedure-name-1 is omitted.

An in-line PERFORM must be delimited by the END-PERFORM phrase.

The in-line and out-of-line formats cannot be combined. For example, if procedure-name-1 is specified, the imperative-statement and the END-PERFORM phrase must not be specified.

There are four PERFORM statement formats:

Related Information:


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