Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


Imperative statements

An imperative statement either specifies an unconditional action to be taken by the program or is a conditional statement terminated by its explicit scope terminator (see Delimited scope statements). A series of imperative statements can be specified wherever an imperative statement is allowed. A conditional statement that is terminated by its explicit scope terminator is also classified as an imperative statement (see Delimited scope statements). The following lists contain the COBOL imperative statements.

Arithmetic

1. Without the ON SIZE ERROR or the NOT ON SIZE ERROR phrase.

Data movement

2. Without the ON OVERFLOW or the NOT ON OVERFLOW phrase.

8. Without the ON EXCEPTION or NOT ON EXCEPTION phrase.

Ending

Input-output

3. Without the INVALID KEY or the NOT INVALID KEY phrase.
4. Without the AT END or NOT AT END, and INVALID KEY or NOT INVALID KEY phrases.
5. Without the INVALID KEY or NOT INVALID KEY, and END-OF-PAGE or NOT END-OF-PAGE phrases.

Ordering

6. Without the AT END or NOT AT END phrase.

Procedure-branching

Program or method linkage

7. Without the ON OVERFLOW phrase, and without the ON EXCEPTION or NOT ON EXCEPTION phrase.

Table-handling


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)