# COBOL Level 6: Programs & Reuse

> Level 6: Programs & Reuse of the LoWisa COBOL course: Subprograms, COPYBOOKS, Shared Business Definitions. 3 lessons and 9 ideas, each explained in one line.

Programs & Reuse is level 6 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.

## Subprograms

- **CALL.** **CALL** invokes a subprogram: USING passing parameters by reference or content.
- **LINKAGE SECTION.** The **LINKAGE** section declares received parameters: the callee’s view of the caller’s data.
- **Static versus dynamic calls.** Calls bind **static** or dynamic: literal names bound at link, variables resolved at run.

## COPYBOOKS

- **Copybooks.** A **copybook** is included source: record layouts and constants shared across programs.
- **REPLACING.** COPY **REPLACING** customises inclusion: one layout serving many prefixes.
- **Copybooks as contracts.** Copybooks are the estate’s **contracts**: change one, and every consumer recompiles or drifts.

## Shared Business Definitions

- **Single source of truth.** Amounts, codes and layouts define **once**: divergent copies are how ledgers disagree.
- **Impact analysis.** Changing a copybook starts with **impact** analysis: every including program found first.
- **Versioning discipline.** Estates version copybooks and programs **together**: releases as coordinated sets.

## Before and after this level

- **Before:** [Level 5: Files](/courses/cobol/level-5-files/): Sequential Files, Indexed Files, File Processing.
- **Next:** [Level 7: Batch Processing](/courses/cobol/level-7-batch-processing/): Batch Jobs, JCL Interaction Concepts, Large-Scale Transaction Processing.

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 6: Programs & Reuse cover?

Subprograms, COPYBOOKS, Shared Business Definitions: 3 lessons and 9 ideas.

### What should I know before this level?

The level before it, Level 5: Files, which covers Sequential Files, Indexed Files, File Processing.

## 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-6-programs-and-reuse/ · Updated 2026-11-25
