---
name: gnucobol
description: "Use when adopting GnuCOBOL to assess this standard: Check COBOL syntax in the target dialect"
---

# Apply GnuCOBOL

Check program sources with the dialect and copybook search paths used for production. Record the compiler version and review warnings for the target system.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by GnuCOBOL.
2. Use GnuCOBOL in this repository to meet this standard: Check COBOL syntax in the target dialect. Check program sources with the dialect and copybook search paths used for production. Record the compiler version and review warnings for the target system. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://gnucobol.sourceforge.io/) for configuration and prerequisites.
