Category:COBOL: Difference between revisions

added X/Open COBOL
imported>Acediast
(→‎Versions: Added newest standard.)
imported>Acediast
(added X/Open COBOL)
 
Line 17:
* '''COBOL-68''' is the first COBOL standard and was published by [[ANSI]]. It was created to improve compatibility between the different versions of the language.
* '''COBOL-74''' 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-85''' added many new features to COBOL, notably including: excplicit 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.
* '''X/Open COBOL''' was a technical standard published by the X/Open Group in 1991 to facilitate uniformity of implementations and program portability. Based on COBOL-85, it excluded much of its optional modules and obsolete features, and also specified some common non-ANSI extensions that would later become incorporated into the standard, such as the screen section for TUI programming, and record locking.<ref>{{Cite book|author=X/Open|title=Technical Standard: COBOL Language|url=https://pubs.opengroup.org/onlinepubs/009680799/toc.pdf}}</ref>
* '''COBOL 2002''' 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 from poor vendor support, due to little commercial demand for the new features.<ref>{{Cite book|author=John Billman & Huib Klink, '|title=Thoughts on the Future of COBOL Standardization', [|url=https://web.archive.org/web/20090711032647/http://www.cobolstandard.info/j4/files/08-0034.pdf]}}</ref>
* '''COBOL 2014''' was published on July 8th, 2014 and accepted by [[ISO]] early that summer, and then adopted by [[ANSI]] on Oct 31st, 2014.<ref>{{Cite book|title=ISO/IEC 1989:2014 Information technology – Programming languages, their environments and system software interfaces – Programming language COBOL', [|url=https://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=51416]}}</ref> It includes numeric definitions following the [[IEEE]] 754 standard.
* '''COBOL 2023''' is the latest version of the standard, adopted in January 2023. It includes the standardizations of many previously nonstandard extensions, including transaction processing, asynchronous messaging, line sequential file organization, enhanced string manipulation, boolean shifting operators and a sleep statement.
 
Anonymous user