COBOL: Difference between revisions
Jump to navigation
Jump to search
(added text from ND-60.089.03) |
(added NORD-10 COBOL feature table) |
||
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. | |||
|} | |||
==Sources== | ==Sources== | ||
{{ND-doc|60.144}} | {{ND-doc|60.144}} | ||
<references/> | <references/> | ||
[[Category:Programming Languages]] | [[Category:Programming Languages]] |
Revision as of 08:22, 28 June 2016
The COBOL programming language is available.
This article is a stub. You can improve NDWiki by expanding it. |
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. |
Sources
Norsk Data Document ND–60.144 ND COBOL REFERENCE MANUAL
- ↑ 1.0 1.1 Norsk Data Document ND–60.089.03 May 1979 NORD-10 COBOL REFERENCE MANUAL , Introduction