Procedure Division (↑ Statements)
◄Key► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Construct: Procedure Division
Function: Contains the executable statements of the program.
Syntax: Which format? ◄DECLARATIVES► Simple
►►─PROCEDURE DIVISION─┬───────────────┬──────────────────────────────►
└─mnemonic-name─┘
►───┬────────────────────────────────────────┬─. ────────────────────►
│ ┌───────────────────────────────┐ │
│ ▼ │ │
├─USING─┬┬───────────────┬─data-name-1─┬─┤
│ │└┬──┬─REFERENCE─┘ │ │
│ │ └BY┘ │ │
│ └┬──┬─VALUE data-name-2────────┘ │
│ └BY┘ │
│ ┌──────────┐ │
│ ▼ │ │
└─CHAINING──data-name-1──────────────────┘
┌───────────────────────┐
▼ │
►──┬───────────┬──para-name. ─┬───────────┬───►◄
│ ┌───────┐ │ │ ┌───────┐ │
│ ▼ │ │ │ ▼ │ │
└─sentence──┘ └─sentence──┘
-♦-