# COBOL Level 3: Program Logic

> Level 3: Program Logic of the LoWisa COBOL course: Conditions, PERFORM, Business Processing Flow. 3 lessons and 9 ideas, each explained in one line.

Program Logic is level 3 of 12 of the [LoWisa COBOL course](/courses/cobol/). It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

## Conditions

- **IF and EVALUATE.** **IF** branches with ELSE and END-IF: conditions written close to English.
- **EVALUATE.** **EVALUATE** is COBOL’s switch: WHEN clauses matching values and conditions, TRUE tables included.
- **Condition names.** 88-level **condition** names make IF statements read as policy: the business rule visible.

## PERFORM

- **PERFORM basics.** **PERFORM** runs a paragraph and returns: the call mechanism of structured COBOL.
- **PERFORM UNTIL.** PERFORM **UNTIL** loops a paragraph: the read-process loop every batch program contains.
- **PERFORM VARYING.** PERFORM **VARYING** counts through tables: the indexed loop, bounds explicit.

## Business Processing Flow

- **Structured shape.** Healthy programs read top-down: a **main** paragraph performing initialisation, processing, termination.
- **GO TO honestly.** Legacy code carries **GO TO**: read it fluently, write it never, untangle it gradually.
- **COMPUTE and arithmetic.** **COMPUTE** evaluates expressions with ROUNDED and ON SIZE ERROR: arithmetic with declared honesty.

## Before and after this level

- **Before:** [Level 2: Data Definitions](/courses/cobol/level-2-data-definitions/): PIC Clauses, Numeric and Character Data, Records and Fields.
- **Next:** [Level 4: Tables & Records](/courses/cobol/level-4-tables-and-records/): Tables, OCCURS, Structured Business Records.

In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See [Checkpoints and flashcards](/help/checkpoints-and-flashcards/).

## Frequently asked questions

### What does COBOL Level 3: Program Logic cover?

Conditions, PERFORM, Business Processing Flow: 3 lessons and 9 ideas.

### What should I know before this level?

The level before it, Level 2: Data Definitions, which covers PIC Clauses, Numeric and Character Data, Records and Fields.

## Learn COBOL on your phone

The first level is free. LoWisa is on Google Play and the App Store.

---

Source: https://lowisa.dev/courses/cobol/level-3-program-logic/ · Updated 2026-11-25
