COBOL Std 1 Purpose and Scope: Difference between revisions

From Webhuis wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 4764 by Martin (talk))
Tag: Undo
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


{{Ambox
{{Ambox
| name = COBOL Std 1 Purpose and Scope{{subst:void|Don't change anything on this line. It will change itself when you save.}}
name = COBOL Std 1 Purpose and Scope{{subst:void|Don't change anything on this line. It will change itself when you save.}}
| subst = <includeonly>{{subst:substcheck}}</includeonly>
subst = <includeonly>{{subst:substcheck}}</includeonly>
| type = notice
type = notice
| text = '''Compliance note''' — Existing programs may deviate from this standard. Any modification touching more than 20 % of a program's statements must bring the changed portions into conformance.
text = '''Compliance note''' — Existing programs may deviate from this standard. Any modification touching more than 20 % of a program's statements must bring the changed portions into conformance.
}}
}}



Latest revision as of 16:42, 25 March 2026

1. Purpose and Scope[edit]

This document defines the baseline coding standard for COBOL programs targeting GnuCOBOL 4.x on Linux, with optional GixSQL pre-processing for embedded PostgreSQL access. It applies to all newly written programs, to programs undergoing significant modification, and to reverse-engineering or migration work.

The standard covers four concerns:

  • Source-code layout and formatting
  • Naming conventions for data items, paragraphs, copybooks, and files
  • Structural and architectural patterns (divisions, tiers, method-dispatch)
  • Error handling, embedded SQL, and output formatting rules

{{Ambox name = COBOL Std 1 Purpose and Scope{{subst:void|Don't change anything on this line. It will change itself when you save.}} subst = type = notice text = Compliance note — Existing programs may deviate from this standard. Any modification touching more than 20 % of a program's statements must bring the changed portions into conformance. }}


Cobol programming standards | Cobol and PostgreSQL