Category:COBOL: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Clarified publication of COBOL standard document.)
m (Added more detail on COBOL-85 amendments.)
Line 16: Line 16:
* '''ANS COBOL 1968''' is the first COBOL standard and was published by [[ANSI]]. It was created to improve compatibility between the different versions of the language.
* '''ANS COBOL 1968''' is the first COBOL standard and was published by [[ANSI]]. It was created to improve compatibility between the different versions of the language.
* '''COBOL 1974''' added a few more features to the language, including the ability to <code>ACCEPT</code> the date, day and time, and the file organization clause.
* '''COBOL 1974''' added a few more features to the language, including the ability to <code>ACCEPT</code> the date, day and time, and the file organization clause.
* '''COBOL 1985''' added many new features to COBOL, notably including: scope terminators (<code>END-IF</code>, <code>END-READ</code>, etc.), the <code>EVALUATE</code> verb, the <code>CONTINUE</code> verb, inline <code>PERFORM</code> statements, the ability to pass arguments by content, and the deprecation of the infamous <code>ALTER</code> verb. This standard was followed by various amendments in 1989 and 1991.
* '''COBOL 1985''' added many new features to COBOL, notably including: scope terminators (<code>END-IF</code>, <code>END-READ</code>, etc.), the <code>EVALUATE</code> verb, the <code>CONTINUE</code> verb, inline <code>PERFORM</code> statements, the ability to pass arguments by content, and the deprecation of the infamous <code>ALTER</code> verb. This standard was followed by the intrinsic functions amendment and a clarifications amendment in 1989 and 1991, respectively.
* '''COBOL 2002''' is the current version of COBOL and was published by [[ISO]] as ISO/IEC 1989. It included a host of new features, most notably including object-oriented programming. However, there were also other features, including: floating-point support, portable arithmetic results, pointers, calling conventions to other languages, function prototypes, [[XML]] facilities and support for execution within framework environments. This standard has suffered frm poor vendors support, due to little commercial demand for the new features.<ref>John Billman & Huib Klink, 'Thoughts on the Future of COBOL Standardization', [http://www.cobolstandard.info/j4/files/08-0034.pdf]</ref>
* '''COBOL 2002''' is the current version of COBOL and was published by [[ISO]] as ISO/IEC 1989. It included a host of new features, most notably including object-oriented programming. However, there were also other features, including: floating-point support, portable arithmetic results, pointers, calling conventions to other languages, function prototypes, [[XML]] facilities and support for execution within framework environments. This standard has suffered frm poor vendors support, due to little commercial demand for the new features.<ref>John Billman & Huib Klink, 'Thoughts on the Future of COBOL Standardization', [http://www.cobolstandard.info/j4/files/08-0034.pdf]</ref>
* '''COBOL 201X''' is the next version of the standard version of the standard and the final draft is expected to be published in 2014. It will likely include outstanding technical reports which include object finalization and a collection class library.
* '''COBOL 201X''' is the next version of the standard version of the standard and the final draft is expected to be published in 2014. It will likely include outstanding technical reports which include object finalization and a collection class library.

Revision as of 08:53, 22 September 2013

Language
COBOL
This programming language may be used to instruct a computer to perform a task.
Execution method: Compiled (machine code)
Garbage collected: No
Parameter passing methods: By reference, By value
Type safety: Strong
Type strength: Strong
Type expression: Explicit
Type checking: Static
Lang tag(s): cobol
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using COBOL.

COBOL, an acronym for 'COmmon Business Oriented Language', is one of the oldest programming languages, being created in 1959. It was designed by a CODASYL (Conference on Data System Languages) committee with Grace Hopper. It is primarily used in business, finance and administration for companies and governments. It is primarily an imperative, structured language, with support for object-oriented programming added in 2002.

Versions

  • COBOL 1965 added some new features to the original specification.
  • ANS COBOL 1968 is the first COBOL standard and was published by ANSI. It was created to improve compatibility between the different versions of the language.
  • COBOL 1974 added a few more features to the language, including the ability to ACCEPT the date, day and time, and the file organization clause.
  • COBOL 1985 added many new features to COBOL, notably including: scope terminators (END-IF, END-READ, etc.), the EVALUATE verb, the CONTINUE verb, inline PERFORM statements, the ability to pass arguments by content, and the deprecation of the infamous ALTER verb. This standard was followed by the intrinsic functions amendment and a clarifications amendment in 1989 and 1991, respectively.
  • COBOL 2002 is the current version of COBOL and was published by ISO as ISO/IEC 1989. It included a host of new features, most notably including object-oriented programming. However, there were also other features, including: floating-point support, portable arithmetic results, pointers, calling conventions to other languages, function prototypes, XML facilities and support for execution within framework environments. This standard has suffered frm poor vendors support, due to little commercial demand for the new features.[1]
  • COBOL 201X is the next version of the standard version of the standard and the final draft is expected to be published in 2014. It will likely include outstanding technical reports which include object finalization and a collection class library.

References

  1. John Billman & Huib Klink, 'Thoughts on the Future of COBOL Standardization', [1]

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "COBOL"

The following 200 pages are in this category, out of 364 total.

(previous page) (next page)
(previous page) (next page)