ISO/IEC 1989:2023
Information technology — Programming languages, their environments and system software interfaces — Programming language COBOL
Information technology — Programming languages, their environments and system software interfaces — Programming language COBOL
- Статус документа:
- Действующий
- Формат:
- Электронный (PDF)
- Количество страниц:
- 1229
- Дата публикации:
- 31 января 2023 г.
- Издание:
- ISO/IEC IS 1989 edition 3 version 1
- ICS:
- 35.060
This document specifies the syntax and semantics of COBOL. Its purpose is to promote a high degree of machine independence to permit the use of COBOL on a variety of data processing systems. This document specifies: The form of a compilation group written in COBOL. The effect of compiling a compilation group. The effect of executing run units. The elements of the language for which a conforming implementation is required to supply a definition. The elements of the language for which meaning is explicitly undefined. The elements of the language that are dependent on the capabilities of the processor. This document does not specify: The means whereby a compilation group written in COBOL is compiled into code executable by a processor. The time at which method, function, or program runtime modules are linked or bound to an activating statement, except that runtime binding occurs of necessity when the identification of the appropriate program or method is not known at compile time. The time at which parameterized classes and interfaces are expanded. The mechanism by which locales are defined and made available on a processor. The form or content of error, flagging, or warning messages. The form and content of listings produced during compilation, if any. The form of documentation produced by an implementor of products conforming to this document. The sharing of objects and resources other than files among run units.
Abstract
Overview
ISO/IEC 1989:2023 - "Information technology - Programming languages, their environments and system software interfaces - Programming language COBOL" - is the 2023 third edition international standard that specifies the syntax and semantics of the COBOL programming language. Its primary purpose is to promote a high degree of machine independence and portability so COBOL code can be used reliably across a variety of data‑processing systems.
The standard defines:
- the form of a compilation group written in COBOL,
- the effect of compiling a compilation group,
- the effect of executing run units,
- which language elements a conforming implementation must define, which are undefined, and which are processor-dependent.
It also clearly states what it does not specify (for example, the internal mechanism for producing executable code, linking times for runtime modules, locale mechanisms, or the format of error/listing messages).
Key Topics and Requirements
The standard covers technical subjects essential to implementers and users:
- Syntax & semantics: formal description of COBOL language constructs and behavior.
- Conformance: requirements for a conforming implementation, a conforming compilation group, and a conforming run unit.
- Reference formats: fixed-form and free-form source formats, continuation, comments, blank lines.
- Compiler directing facility: text manipulation and compile-time facilities such as COPY and REPLACE statements.
- Compiler directives: conditional compilation and a range of directives (e.g., IF directive, DEFINE, DISPLAY, EVALUATE, FLAG directives, CALL‑CONVENTION).
- Description techniques: rules for keywords, operands, level numbers, punctuation, arithmetic expressions and argument/return rules.
- Optional, processor-dependent, implementor-defined elements: guidelines on extensions, reserved words, archaic/obsolete elements, and limits.
- Documentation and user information: requirements for developer-facing documentation and character substitution rules.
Practical Applications
ISO/IEC 1989:2023 is used to:
- Ensure portability and predictable behavior of COBOL programs across platforms.
- Guide compiler and tool vendors in building conforming COBOL compilers, preprocessors, and static analyzers.
- Support legacy system modernization by clarifying standard-compliant features vs. vendor-specific extensions.
- Inform conformance testing, quality assurance, and code migration planning in enterprise IT environments.
- Educate developers on standardized COBOL source formats, directives, and compile-time behaviors.
Who Should Use This Standard
- COBOL compiler and tool implementers
- Enterprise architects and programmers maintaining COBOL systems
- DevOps and migration teams modernizing legacy applications
- QA engineers and auditors performing conformance checks
- Educators and trainers teaching standardized COBOL
Related Standards (context)
While ISO/IEC 1989:2023 focuses on language syntax and semantics, implementers often consult related ISO/IEC standards for character sets, runtime interfaces, or system-level facilities when integrating COBOL into broader environments. For portability and interoperability projects, combine ISO/IEC 1989 with platform and tooling documentation to cover implementation-specific behaviors.
Технические детали
- Технический комитет
- ISO/IEC JTC 1/SC 22 - Programming languages, their environments and system software interfaces
- SKU
- ISO/IEC 1989:2023
Похожие стандарты
Другие стандарты ISO
ISO 8212:1986
ОтменёнSoaps and detergents — Techniques of sampling during manufacture
Overview Standard Reference: ISO 8212:1986 Title: Soaps and detergents - Techniques of sampling during manufacture ISO 8212:1986 defines standardized techniques for taking representative samples of s…
ISO 20662:2020
ДействующийShips and marine technology — Hopper dredger supervisory and control systems
Overview ISO 20662:2020 - Ships and marine technology: Hopper dredger supervisory and control systems (HD‑SCS) - specifies the components, structure, general requirements, and functional requirements…
ISO 3021:2023
ДействующийAdventure tourism — Hiking and trekking activities — Requirements and recommendations
Overview ISO 3021:2023 - Adventure tourism: Hiking and trekking activities - Requirements and recommendations defines safety-focused requirements and recommendations for hiking and trekking offered a…
ISO 3826-2:2008
ДействующийPlastics collapsible containers for human blood and blood components — Part 2: Graphical symbols for use on l…
Overview ISO 3826-2:2008 - "Plastics collapsible containers for human blood and blood components - Part 2: Graphical symbols for use on labels and instruction leaflets" defines a system of internatio…
ISO/IEC 24730-1:2014
ДействующийInformation technology — Real-time locating systems (RTLS) — Part 1: Application programming interface (API)
Overview ISO/IEC 24730-1:2014 specifies the Application Programming Interface (API) for Real‑Time Locating Systems (RTLS). The standard defines a minimal, interoperable boundary that lets application…
ISO 8668-5:1992
ДействующийAircraft — Terminal junction systems — Part 5: Detail specification for type 3 system
Overview - ISO 8668-5:1992 (Aircraft terminal junction systems, Type 3) ISO 8668-5:1992 defines the detail specification for Type 3 Terminal Junction Systems (TJS) used in aircraft electrical install…
ISO 7574-3:1985
ДействующийAcoustics — Statistical methods for determining and verifying stated noise emission values of machinery and e…
Overview ISO 7574-3:1985 is part of the ISO 7574 series on acoustics and provides a simple (transition) statistical method for determining and verifying stated noise emission values for batches (lots…
ISO 15638-15:2014
ДействующийIntelligent transport systems — Framework for cooperative telematics applications for regulated vehicles (TAR…
Overview - ISO 15638-15:2014 (Vehicle location monitoring, TARV) ISO 15638-15:2014 is part of the ISO 15638 suite for Intelligent Transport Systems (ITS) and defines the framework and data specificat…