COBOL: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(added text from ND-60.089.03)
m (→‎Product number: add product number ND-10020)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
Each module of the COBOL standard has two non-null "levels" -- level 1 represents a subset of the full set of capabilities and features contained in level 2.
Each module of the COBOL standard has two non-null "levels" -- level 1 represents a subset of the full set of capabilities and features contained in level 2.


In order for a given system to be called COBOL, it must provide at least level 1 of the Nucleus, Table Handling and Sequential I/O modules.<ref>{{ND-doc|60.089.03 May 1979}}, Introduction</ref>
In order for a given system to be called COBOL, it must provide at least level 1 of the Nucleus, Table Handling and Sequential I/O modules.<ref name="nd10cobref">{{ND-doc|60.089.03 May 1979}}, Introduction</ref>
== NORD-10 COBOL features<ref name="nd10cobref" /> ==
{| class="wikitable"
!Module
!Features available in NORD-10 COBOL
|-
|Nucleus||All of level 1, plus these features of level 2: Levels 77, 01-49, 66, 88. Value series or range, level 88 conditions.
|-
|Sequential I/O||All of level 1 plus these features of level 2: RESERVE clause. Multiple operands in OPEN & CLOSE, with individual options per file. Variable used to specify print file ADVANCING LINES.
|-
|Relative I/O||All of level 1 plus: RESERVE clause. DYNAMIC access mode (with READ next). START (with key relations EQUAL, GREATER, or NOT LESS).
|-
|Indexed I/O||1 key only. All of level 1 plus: RESERVE clause. DYNAMIC access mode (with READ next). START (with key relations EQUAL, GREATER, or NOT LESS).
|-
|Library||Level 1
|-
|Inter-Program Communication||Level 1
|-
|Table Handling||All of level 2, except "DEPENDING ON" form of OCCURS clause
|-
|Debugging||Conditional compilation: lines with "D in column 7" are bypassed unless WITH DEBUGGING MODE. READY TRACE, RESET TRACE, EXHIBIT.
|-
|Sort||level 2; up to 5 sort-file keys.
|}
 
== Product number ==
* [[Category:ND-10020|ND-10020]]
* [[:Category:ND-10176|ND-10176]]
* [[:Category:ND-10177|ND-10177]]
* [[:Category:ND-10189|ND-10189]]
* [[:Category:ND-210177|ND-210177]]
 
==Sources==
==Sources==
{{ND-doc|60.144}}
{{ND-doc|60.144}}
<references/>
<references/>
[[Category:Programming Languages]]
[[Category:Programming Languages]]

Latest revision as of 17:49, 4 June 2024

The COBOL programming language is available.

NORD-10 COBOL is based upon American National Standard X3.23-1974. Elements of the COBOL language are allocated to twelve different functional levels.

Each module of the COBOL standard has two non-null "levels" -- level 1 represents a subset of the full set of capabilities and features contained in level 2.

In order for a given system to be called COBOL, it must provide at least level 1 of the Nucleus, Table Handling and Sequential I/O modules.[1]

NORD-10 COBOL features[1]

Module Features available in NORD-10 COBOL
Nucleus All of level 1, plus these features of level 2: Levels 77, 01-49, 66, 88. Value series or range, level 88 conditions.
Sequential I/O All of level 1 plus these features of level 2: RESERVE clause. Multiple operands in OPEN & CLOSE, with individual options per file. Variable used to specify print file ADVANCING LINES.
Relative I/O All of level 1 plus: RESERVE clause. DYNAMIC access mode (with READ next). START (with key relations EQUAL, GREATER, or NOT LESS).
Indexed I/O 1 key only. All of level 1 plus: RESERVE clause. DYNAMIC access mode (with READ next). START (with key relations EQUAL, GREATER, or NOT LESS).
Library Level 1
Inter-Program Communication Level 1
Table Handling All of level 2, except "DEPENDING ON" form of OCCURS clause
Debugging Conditional compilation: lines with "D in column 7" are bypassed unless WITH DEBUGGING MODE. READY TRACE, RESET TRACE, EXHIBIT.
Sort level 2; up to 5 sort-file keys.

Product number

Sources

Norsk Data Document ND–60.144 ND COBOL REFERENCE MANUAL

  1. 1.0 1.1 Norsk Data Document ND–60.089.03 May 1979 NORD-10 COBOL REFERENCE MANUAL , Introduction