COBOL/400 Language Help
- Description
- A Procedure Division statement is a syntactically valid combination of
identifiers and symbols (literals, relational-operators, and so
forth) beginning with a COBOL verb.
There are four categories of statements:
- Imperative: Specifies an unconditional action to be taken
by the program, or is a conditional statement terminated by its explicit scope
terminator.
- Conditional: Specifies that the truth value of a
condition is to be determined, and that the subsequent action of the object
program is dependent on this truth value.
- Delimited scope: Uses an explicit scope terminator to
turn a conditional statement into an imperative statement; the resulting
imperative statement can then be nested. Explicit scope terminators may
also be used, however, to terminate the scope of an imperative
statement.
- Compiler-directing: Directs the compiler to take specific
actions during compilation of the program.
COBOL statements can also be categorized according to the type of
operations they perform:
- Arithmetic statements perform computations.
- Data manipulation statements move and inspect data.
- Input/output statements transfer data to and from files stored
on external media, and control low-volume data that is obtained from or sent
to an input/output device.
- Procedure-branching statements allow statements, sentences, and
paragraphs in the Procedure Division to be executed non-sequentially.
For help with individual Procedure Division statements, select from the
following list.
- ACCEPT
- INITIALIZE
- ACQUIRE
- INSPECT
- ADD
- MERGE
- ALTER
- MOVE
- CALL
- MULTIPLY
- CANCEL
- OPEN
- CLOSE
- PERFORM
- COMMIT
- READ
- COMPUTE
- RELEASE
- CONTINUE
- RETURN
- DELETE
- REWRITE
- DISPLAY
- ROLLBACK
- DIVIDE
- SEARCH
- DROP
- SET
- ENTER
- SORT
- EVALUATE
- START
- EXIT
- STOP
- EXIT PROGRAM
- STRING
- GOBACK
- SUBTRACT
- GO TO
- UNSTRING
- IF
- WRITE
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.