Contents 1 History and specification 1.1 Background 1.2 COBOL 60 1.3 COBOL-61 to COBOL-65 1.4 COBOL-68 1.5 COBOL-74 1.6 COBOL-85 1.7 COBOL 2002 and object-oriented COBOL 1.8 COBOL 2014 1.9 Legacy 2 Features 2.1 Syntax 2.1.1 Metalanguage 2.2 Code format 2.3 Identification division 2.3.1 Object-oriented programming 2.4 Environment division 2.4.1 Files 2.5 Data division 2.5.1 Aggregated data 2.5.2 Other data levels 2.5.3 Data types 2.5.3.1 PICTURE clause 2.5.3.2 USAGE clause 2.5.4 Report writer 2.6 Procedure division 2.6.1 Procedures 2.6.2 Statements 2.6.2.1 Control flow 2.6.2.2 I/O 2.6.2.3 Data manipulation 2.6.3 Scope termination 2.6.4 Self-modifying code 2.7 Hello, world 3 Criticism and defense 3.1 Lack of structure 3.2 Compatibility issues 3.3 Verbose syntax 3.4 Isolation from the computer science community 3.5 Concerns about the design process 3.6 Influences on other languages 4 See also 5 Notes 6 References 6.1 Citations 6.2 Sources 7 External links


History and specification[edit] Background[edit] In the late 1950s, computer users and manufacturers were becoming concerned about the rising cost of programming. A 1959 survey had found that in any data processing installation, the programming cost US$800,000 on average and that translating programs to run on new hardware would cost $600,000. At a time when new programming languages were proliferating at an ever-increasing rate, the same survey suggested that if a common business-oriented language were used, conversion would be far cheaper and faster.[14] Grace Hopper, the inventor of FLOW-MATIC, a predecessor to COBOL In April 1959, Mary K. Hawes called a meeting of representatives from academia, computer users, and manufacturers at the University of Pennsylvania to organize a formal meeting on common business languages.[15] Representatives included Grace Hopper, inventor of the English-like data processing language FLOW-MATIC, Jean Sammet and Saul Gorn.[16][17] The group asked the Department of Defense (DoD) to sponsor an effort to create a common business language. The delegation impressed Charles A. Phillips, director of the Data System Research Staff at the DoD, who thought that they "thoroughly understood" the DoD's problems. The DoD operated 225 computers, had a further 175 on order and had spent over $200 million on implementing programs to run on them. Portable programs would save time, reduce costs and ease modernization.[18] Phillips agreed to sponsor the meeting and tasked the delegation with drafting the agenda.[19] COBOL 60[edit] On May 28 and 29 of 1959 (exactly one year after the Zürich ALGOL 58 meeting), a meeting was held at the Pentagon to discuss the creation of a common programming language for business. It was attended by 41 people and was chaired by Phillips.[20] The Department of Defense was concerned about whether it could run the same data processing programs on different computers. FORTRAN, the only mainstream language at the time, lacked the features needed to write such programs.[21] Representatives enthusiastically described a language that could work in a wide variety of environments, from banking and insurance to utilities and inventory control. They agreed unanimously that more people should be able to program and that the new language should not be restricted by the limitations of contemporary technology. A majority agreed that the language should make maximal use of English, be capable of change, be machine-independent and be easy to use, even at the expense of power.[22] The meeting resulted in the creation of a steering committee and short-, intermediate- and long-range committees. The short-range committee was given to September (three months) to produce specifications for an interim language, which would then be improved upon by the other committees.[23][24] Their official mission, however, was to identify the strengths and weaknesses of existing programming languages and did not explicitly direct them to create a new language.[21] The deadline was met with disbelief by the short-range committee.[25] One member, Betty Holberton, described the three-month deadline as "gross optimism" and doubted that the language really would be a stopgap.[26] The steering committee met on June 4 and agreed to name the entire activity as the Committee on Data Systems Languages, or CODASYL, and to form an executive committee.[27] The short-range committee was made up of members representing six computer manufacturers and three government agencies. The six computer manufacturers were Burroughs Corporation, IBM, Minneapolis-Honeywell (Honeywell Labs), RCA, Sperry Rand, and Sylvania Electric Products. The three government agencies were the US Air Force, the Navy's David Taylor Model Basin, and the National Bureau of Standards (now the National Institute of Standards and Technology).[28] The committee was chaired by Joseph Wegstein of the US National Bureau of Standards. Work began by investigating data description, statements, existing applications and user experiences.[29] The committee mainly examined the FLOW-MATIC, AIMACO and COMTRAN programming languages.[21][30] The FLOW-MATIC language was particularly influential because it had been implemented and because AIMACO was a derivative of it with only minor changes.[31][32] FLOW-MATIC's inventor, Grace Hopper, also served as a technical adviser to the committee.[25] FLOW-MATIC's major contributions to COBOL were long variable names, English words for commands and the separation of data descriptions and instructions.[33] IBM's COMTRAN language, invented by Bob Bemer, was regarded as a competitor to FLOW-MATIC[34][35] by a short-range committee made up of colleagues of Grace Hopper.[36] Some of its features were not incorporated into COBOL so that it would not look like IBM had dominated the design process,[23] and Jean Sammet said in 1981 that there had been a "strong anti-IBM bias" from some committee members (herself included).[37] In one case, after Roy Goldfinger, author of the COMTRAN manual and intermediate-range committee member, attended a subcommittee meeting to support his language and encourage the use of algebraic expressions, Grace Hopper sent a memo to the short-range committee reiterating Sperry Rand's efforts to create a language based on English.[38] In 1980, Grace Hopper commented that "COBOL 60 is 95% FLOW-MATIC" and that COMTRAN had had an "extremely small" influence. Furthermore, she said that she would claim that work was influenced by both FLOW-MATIC and COMTRAN only to "keep other people happy [so they] wouldn't try to knock us out".[39] Features from COMTRAN incorporated into COBOL included formulas,[40] the PICTURE clause,[41] an improved IF statement, which obviated the need for GO TOs, and a more robust file management system.[34] The usefulness of the committee's work was subject of great debate. While some members thought the language had too many compromises and was the result of design by committee, others felt it was better than the three languages examined. Some felt the language was too complex; others, too simple.[42] Controversial features included those some considered useless or too advanced for data processing users. Such features included boolean expressions, formulas and table subscripts (indices).[43][44] Another point of controversy was whether to make keywords context-sensitive and the effect that would have on readability.[43] Although context-sensitive keywords were rejected, the approach was later used in PL/I and partially in COBOL from 2002.[45] Little consideration was given to interactivity, interaction with operating systems (few existed at that time) and functions (thought of as purely mathematical and of no use in data processing).[46][47] The specifications were presented to the Executive Committee on September 4. They fell short of expectations: Joseph Wegstein noted that "it contains rough spots and requires some additions", and Bob Bemer later described them as a "hodgepodge". The subcommittee was given until December to improve it.[25] At a mid-September meeting, the committee discussed the new language's name. Suggestions included "BUSY" (Business System), "INFOSYL" (Information System Language) and "COCOSYL" (Common Computer Systems Language).[48] The name "COBOL" was suggested by Bob Bemer.[49][50] In October, the intermediate-range committee received copies of the FACT language specification created by Roy Nutt. Its features impressed the committee so much that they passed a resolution to base COBOL on it.[51] This was a blow to the short-range committee, who had made good progress on the specification. Despite being technically superior, FACT had not been created with portability in mind or through manufacturer and user consensus. It also lacked a demonstrable implementation,[25] allowing supporters of a FLOW-MATIC-based COBOL to overturn the resolution. RCA representative Howard Bromberg also blocked FACT, so that RCA's work on a COBOL implementation would not go to waste.[52] 'And what name do you want inscribed?' I said, 'I'll write it for you.' I wrote the name down: COBOL. 'What kind of name is that?' 'Well it's a Polish name. We shortened it and got rid of a lot of unnecessary notation.' “ ” Howard Bromberg on how he bought the COBOL tombstone[53] It soon became apparent that the committee was too large for any further progress to be made quickly. A frustrated Howard Bromberg bought a $15 tombstone with "COBOL" engraved on it and sent it to Charles Phillips to demonstrate his displeasure.[b][53][55] A sub-committee was formed to analyze existing languages and was made up of six individuals:[21][56] William Selden and Gertrude Tierney of IBM, Howard Bromberg and Howard Discount of RCA, Vernon Reeves and Jean E. Sammet of Sylvania Electric Products. The sub-committee did most of the work creating the specification, leaving the short-range committee to review and modify their work before producing the finished specification.[21] The cover of the COBOL 60 report The specifications were approved by the Executive Committee on January 3, 1960, and sent to the government printing office, which printed these as COBOL 60. The language's stated objectives were to allow efficient, portable programs to be easily written, to allow users to move to new systems with minimal effort and cost, and to be suitable for inexperienced programmers.[57] The CODASYL Executive Committee later created the COBOL Maintenance Committee to answer questions from users and vendors and to improve and expand the specifications.[58] During 1960, the list of manufacturers planning to build COBOL compilers grew. By September, five more manufacturers had joined CODASYL (Bendix, Control Data Corporation, General Electric (GE), National Cash Register and Philco), and all represented manufacturers had announced COBOL compilers. GE and IBM planned to integrate COBOL into their own languages, GECOM and COMTRAN, respectively. In contrast, International Computers and Tabulators planned to replace their language, CODEL, with COBOL.[59] Meanwhile, RCA and Sperry Rand worked on creating COBOL compilers. The first COBOL program ran on 17 August on an RCA 501.[60] On December 6 and 7, the same COBOL program (albeit with minor changes) ran on an RCA computer and a Remington-Rand Univac computer, demonstrating that compatibility could be achieved.[61] The relative influences of which languages were used continues to this day in the recommended advisory printed in all COBOL reference manuals: COBOL is an industry language and is not the property of any company or group of companies, or of any organization or group of organizations. No warranty, expressed or implied, is made by any contributor or by the CODASYL COBOL Committee as to the accuracy and functioning of the programming system and language. Moreover, no responsibility is assumed by any contributor, or by the committee, in connection therewith. The authors and copyright holders of the copyrighted material used herein are as follows: FLOW-MATIC (trademark of Unisys Corporation), Programming for the UNIVAC (R) I and II, Data Automation Systems, copyrighted 1958, 1959, by Unisys Corporation; IBM Commercial Translator Form No. F28-8013, copyrighted 1959 by IBM; FACT, DSI 27A5260-2760, copyrighted 1960 by Minneapolis-Honeywell. They have specifically authorized the use of this material, in whole or in part, in the COBOL specifications. Such authorization extends to the reproduction and use of COBOL specifications in programming manuals or similar publications.[62] COBOL-61 to COBOL-65[edit] It is rather unlikely that Cobol will be around by the end of the decade. Anonymous, June 1960[63] Many logical flaws were found in COBOL 60, leading GE's Charles Katz to warn that it could not be interpreted unambiguously. A reluctant short-term committee enacted a total cleanup and, by March 1963, it was reported that COBOL's syntax was as definable as ALGOL's, although semantic ambiguities remained.[59] Early COBOL compilers were primitive and slow. A 1962 US Navy evaluation found compilation speeds of 3–11 statements per minute. By mid-1964, they had increased to 11–1000 statements per minute. It was observed that increasing memory would drastically increase speed and that compilation costs varied wildly: costs per statement were between $0.23 and $18.91.[64] In late 1962, IBM announced that COBOL would be their primary development language and that development of COMTRAN would cease.[64] The COBOL specification was revised three times in the five years after its publication. COBOL-60 was replaced in 1961 by COBOL-61. This was then replaced by the COBOL-61 Extended specifications in 1963, which introduced the sort and report writer facilities.[65] The added facilities corrected flaws identified by Honeywell in late 1959 in a letter to the short-range committee.[60] COBOL Edition 1965 brought further clarifications to the specifications and introduced facilities for handling mass storage files and tables.[66] COBOL-68[edit] Efforts began to standardize COBOL to overcome incompatibilities between versions. In late 1962, both ISO and the United States of America Standards Institute (now ANSI) formed groups to create standards. ANSI produced USA Standard COBOL X3.23 in August 1968, which became the cornerstone for later versions.[67] This version was known as American National Standard (ANS) COBOL and was adopted by ISO in 1972.[68] COBOL-74[edit] By 1970, COBOL had become the most widely used programming language in the world.[69] Independently of the ANSI committee, the CODASYL Programming Language Committee was working on improving the language. They described new versions in 1968, 1969, 1970 and 1973, including changes such as new inter-program communication, debugging and file merging facilities as well as improved string-handling and library inclusion features.[70] Although CODASYL was independent of the ANSI committee, the CODASYL Journal of Development was used by ANSI to identify features that were popular enough to warrant implementing.[71] The Programming Language Committee also liaised with ECMA and the Japanese COBOL Standard committee.[70] The Programming Language Committee was not well-known, however. The vice-president, William Rinehuls, complained that two-thirds of the COBOL community did not know of the committee's existence. It was also poor, lacking the funds to make public documents, such as minutes of meetings and change proposals, freely available.[72] In 1974, ANSI published a revised version of (ANS) COBOL, containing new features such as file organizations, the DELETE statement[73] and the segmentation module.[74] Deleted features included the NOTE statement, the EXAMINE statement (which was replaced by INSPECT) and the implementer-defined random access module (which was superseded by the new sequential and relative I/O modules). These made up 44 changes, which rendered existing statements incompatible with the new standard.[75] The report writer was slated to be removed from COBOL, but was reinstated before the standard was published.[76][77] ISO later adopted the updated standard in 1978.[68] COBOL-85[edit] In June 1978, work began on revising COBOL-74. The proposed standard (commonly called COBOL-80) differed significantly from the previous one, causing concerns about incompatibility and conversion costs. In January 1981, Joseph T. Brophy, Senior Vice-President of Travelers Insurance, threatened to sue the standard committee because it was not upwards compatible with COBOL-74. Mr. Brophy described previous conversions of their 40-million-line code base as "non-productive" and a "complete waste of our programmer resources".[78] Later that year, the Data Processing Management Association (DPMA) said it was "strongly opposed" to the new standard, citing "prohibitive" conversion costs and enhancements that were "forced on the user".[79][80] During the first public review period, the committee received 2,200 responses, of which 1,700 were negative form letters.[81] Other responses were detailed analyses of the effect COBOL-80 would have on their systems; conversion costs were predicted to be at least 50 cents per line of code. Fewer than a dozen of the responses were in favor of the proposed standard.[82] In 1983, the DPMA withdrew its opposition to the standard, citing the responsiveness of the committee to public concerns. In the same year, a National Bureau of Standards study concluded that the proposed standard would present few problems.[80][83] A year later, a COBOL-80 compiler was released to DEC VAX users, who noted that conversion of COBOL-74 programs posed few problems. The new EVALUATE statement and inline PERFORM were particularly well received and improved productivity, thanks to simplified control flow and debugging.[84] The second public review drew another 1,000 (mainly negative) responses, while the last drew just 25, by which time many concerns had been addressed.[80] In late 1985, ANSI published the revised standard. Sixty features were changed or deprecated and many[quantify] were added, such as:[85][86] Scope terminators (END-IF, END-PERFORM, END-READ, etc.) Nested subprograms CONTINUE, a no-operation statement EVALUATE, a switch statement INITIALIZE, a statement that can set groups of data to their default values Inline PERFORM loop bodies – previously, loop bodies had to be specified in a separate procedure Reference modification, which allows access to substrings I/O status codes. The standard was adopted by ISO the same year.[68] Two amendments followed in 1989 and 1993, the first introducing intrinsic functions and the other providing corrections. ISO adopted the amendments in 1991 and 1994 respectively,[68] before subsequently taking primary ownership and development of the standard. COBOL 2002 and object-oriented COBOL[edit] In 1997, Gartner Group estimated that there were a total of 200 billion lines of COBOL in existence, which ran 80% of all business programs.[87][better source needed] In the early 1990s, work began on adding object-orientation in the next full revision of COBOL. Object-oriented features were taken from C++ and Smalltalk.[1][2] The initial estimate was to have this revision completed by 1997, and an ISO Committee Draft (CD) was available by 1997. Some vendors (including Micro Focus, Fujitsu, and IBM) introduced object-oriented syntax based on drafts of the full revision. The final approved ISO standard was approved and published in late 2002.[88] Fujitsu/GTSoftware,[89] Micro Focus and RainCode introduced object-oriented COBOL compilers targeting the .NET Framework. There were many other new features, many of which had been in the CODASYL COBOL Journal of Development since 1978 and had missed the opportunity to be included in COBOL-85.[90] These other features included:[91][92] Free-form code User-defined functions Recursion Locale-based processing Support for extended character sets such as Unicode Floating-point and binary data types (until then, binary items were truncated based on their declaration's base-10 specification) Portable arithmetic results Bit and boolean data types Pointers and syntax for getting and freeing storage The SCREEN SECTION for text-based user interfaces The VALIDATE facility Improved interoperability with other programming languages and framework environments such as .NET and Java. Three corrigenda were published for the standard: two in 2006 and one in 2009.[93] COBOL 2014[edit] Between 2003 and 2009, three technical reports were produced describing object finalization, XML processing and collection classes for COBOL.[93] COBOL 2002 suffered from poor support: no compilers completely supported the standard. Micro Focus found that it was due to a lack of user demand for the new features and due to the abolition of the NIST test suite, which had been used to test compiler conformance. The standardization process was also found to be slow and under-resourced.[94] COBOL 2014 includes the following changes:[95] Portable arithmetic results have been replaced by IEEE 754 data types Major features have been made optional, such as the VALIDATE facility, the report writer and the screen-handling facility. Method overloading Dynamic capacity tables (a feature dropped from the draft of COBOL 2002)[96] Legacy[edit] COBOL programs are used globally in governments and businesses and are running on diverse operating systems such as z/OS, z/VSE, VME, Unix, OpenVMS and Windows. In 1997, the Gartner Group reported that 80% of the world's business ran on COBOL with over 200 billion lines of code and 5 billion lines more being written annually.[97] Near the end of the 20th century, the year 2000 problem (Y2K) was the focus of significant COBOL programming effort, sometimes by the same programmers who had designed the systems decades before. The particular level of effort required to correct COBOL code has been attributed[by whom?] to the large amount of business-oriented COBOL, as business applications use dates heavily, and to fixed-length data fields. After the clean-up effort put into these programs for Y2K, a 2003 survey found that many remained in use.[98] The authors said that the survey data suggest "a gradual decline in the importance of Cobol in application development over the [following] 10 years unless ... integration with other languages and technologies can be adopted".[99] In 2006 and 2012, Computerworld surveys found that over 60% of organizations used COBOL (more than C++ and Visual Basic .NET) and that for half of those, COBOL was used for the majority of their internal software.[7][100] 36% of managers said they planned to migrate from COBOL, and 25% said they would like to if it was cheaper. Instead, some businesses have migrated their systems from expensive mainframes to cheaper, more modern systems, while maintaining their COBOL programs.[7]


Features[edit] Syntax[edit] COBOL has an English-like syntax, which is used to describe nearly everything in a program. For example, a condition can be expressed as  x IS GREATER THAN y or more concisely as  x GREATER y  or  x > y. More complex conditions can be "abbreviated" by removing repeated conditions and variables. For example,  a > b AND a > c OR a = d  can be shortened to a > b AND c OR = d. As a consequence of this English-like syntax, COBOL has over 300 keywords.[101][c] Some of the keywords are simple alternative or pluralized spellings of the same word, which provides for more English-like statements and clauses; e.g., the IN and OF keywords can be used interchangeably, as can IS and ARE, and VALUE and VALUES. Each COBOL program is made up of four basic lexical items: words, literals, picture character-strings (see § PICTURE clause) and separators. Words include reserved words and user-defined identifiers. They are up to 31 characters long and may include letters, digits, hyphens and underscores. Literals include numerals (e.g. 12) and strings (e.g. 'Hello!').[103] Separators include the space character and commas and semi-colons followed by a space.[104] A COBOL program is split into four divisions: the identification division, the environment division, the data division and the procedure division. The identification division specifies the name and type of the source element and is where classes and interfaces are specified. The environment division specifies any program features that depend on the system running it, such as files and character sets. The data division is used to declare variables and parameters. The procedure division contains the program's statements. Each division is sub-divided into sections, which are made up of paragraphs. Metalanguage[edit] COBOL's syntax is usually described with a unique metalanguage using braces, brackets, bars and underlining. The metalanguage was developed for the original COBOL specifications. Although Backus–Naur form did exist at the time, the committee had not heard of it.[105] Elements of COBOL's metalanguage Element Appearance Function All capitals EXAMPLE Reserved word Underlining EXAMPLE The reserved word is compulsory Braces { } Only one option may be selected Brackets [] Zero or one options may be selected Ellipsis ... The preceding element may be repeated Bars {| |} One or more options may be selected. Any option may only be selected once. [| |] Zero or more options may be selected. Any option may only be selected once. As an example, consider the following description of an ADD statement: ADD _ { identifier-1 literal-1 } … TO _ { identifier-2 [ ROUNDED _ ] } … [ | ON SIZE _ ERROR _ imperative-statement-1 NOT _ ON SIZE _ ERROR _ imperative-statement-2 | ] [ END-ADD _ ] {\displaystyle {\begin{array}{l}{\underline {\text{ADD}}}\,{\begin{Bmatrix}{\text{identifier-1}}\\{\text{literal-1}}\end{Bmatrix}}\dots \;{\underline {\text{TO}}}\,\left\{{\text{identifier-2}}\,\left[\,{\underline {\text{ROUNDED}}}\,\right]\right\}\dots \\\quad \left[\left|{\begin{array}{l}{\text{ON}}\,{\underline {\text{SIZE}}}\,{\underline {\text{ERROR}}}\,{\text{imperative-statement-1}}\\{\underline {\text{NOT}}}\,{\text{ON}}\,{\underline {\text{SIZE}}}\,{\underline {\text{ERROR}}}\,{\text{imperative-statement-2}}\\\end{array}}\right|\right]\\\quad \left[\,{\underline {\text{END-ADD}}}\,\right]\end{array}}} This description permits the following variants: ADD 1 TO x ADD 1, a, b TO x ROUNDED, y, z ROUNDED ADD a, b TO c ON SIZE ERROR DISPLAY "Error" END-ADD ADD a TO b NOT SIZE ERROR DISPLAY "No error" ON SIZE ERROR DISPLAY "Error" Code format[edit] COBOL can be written in two formats: fixed (the default) or free. In fixed-format, code must be aligned to fit in certain areas (a hold-over from using punched cards). Until COBOL 2002, these were: Name Column(s) Usage Sequence number area 1–6 Originally used for card/line numbers, this area is ignored by the compiler Indicator area 7 The following characters are allowed here: * – Comment line / – Comment line that will be printed on a new page of a source listing - – Continuation line, where words or literals from the previous line are continued D – Line enabled in debugging mode, which is otherwise ignored Area A 8–11 This contains: DIVISION, SECTION and procedure headers; 01 and 77 level numbers and file/report descriptors Area B 12–72 Any other code not allowed in Area A Program name area 73– Historically up to column 80 for punched cards, it is used to identify the program or sequence the card belongs to In COBOL 2002, Areas A and B were merged to form the program-text area, which now ends at an implementor-defined column.[106] COBOL 2002 also introduced free-format code. Free-format code can be placed in any column of the file, as in newer programming languages. Comments are specified using *>, which can be placed anywhere and can also be used in fixed-format source code. Continuation lines are not present, and the >>PAGE directive replaces the / indicator.[106] Identification division[edit] The identification division identifies the following code entity and contains the definition of a class or interface. Object-oriented programming[edit] Classes and interfaces have been in COBOL since 2002. Classes have factory objects, containing class methods and variables, and instance objects, containing instance methods and variables.[107] Inheritance and interfaces provide polymorphism. Support for generic programming is provided through parameterized classes, which can be instantiated to use any class or interface. Objects are stored as references which may be restricted to a certain type. There are two ways of calling a method: the INVOKE statement, which acts similarly to CALL, or through inline method invocation, which is analogous to using functions.[108] *> These are equivalent. INVOKE my-class "foo" RETURNING var MOVE my-class::"foo" TO var *> Inline method invocation COBOL does not provide a way to hide methods. Class data can be hidden, however, by declaring it without a PROPERTY clause, which leaves the user with no way to access it.[109] Method overloading was added in COBOL 2014.[110] Environment division[edit] The environment division contains the configuration section and the input-output section. The configuration section is used to specify variable features such as currency signs, locales and character sets. The input-output section contains file-related information. Files[edit] COBOL supports three file formats, or organizations: sequential, indexed and relative. In sequential files, records are contiguous and must be traversed sequentially, similarly to a linked list. Indexed files have one or more indexes which allow records to be randomly accessed and which can be sorted on them. Each record must have a unique key, but other, alternate, record keys need not be unique. Implementations of indexed files vary between vendors, although common implementations, such as C‑ISAM and VSAM, are based on IBM's ISAM. Relative files, like indexed files, have a unique record key, but they do not have alternate keys. A relative record's key is its ordinal position; for example, the 10th record has a key of 10. This means that creating a record with a key of 5 may require the creation of (empty) preceding records. Relative files also allow for both sequential and random access.[111] A common non-standard extension is the line sequential organization, used to process text files. Records in a file are terminated by a newline and may be of varying length.[112] Data division[edit] The data division is split into six sections which declare different items: the file section, for file records; the working-storage section, for static variables; the local-storage section, for automatic variables; the linkage section, for parameters and the return value; the report section and the screen section, for text-based user interfaces. Aggregated data[edit] Data items in COBOL are declared hierarchically through the use of level-numbers which indicate if a data item is part of another. An item with a higher level-number is subordinate to an item with a lower one. Top-level data items, with a level-number of 1, are called records. Items that have subordinate aggregate data are called group items; those that do not are called elementary items. Level-numbers used to describe standard data items are between 1 and 49.[113][114] 01 some-record. *> Aggregate group record item 05 num PIC 9(10). *> Elementary item 05 the-date. *> Aggregate (sub)group record item 10 the-year PIC 9(4). *> Elementary item 10 the-month PIC 99. *> Elementary item 10 the-day PIC 99. *> Elementary item In the above example, elementary item num and group item the-date are subordinate to the record some-record, while elementary items the-year, the-month, and the-day are part of the group item the-date. Subordinate items can be disambiguated with the IN (or OF) keyword. For example, consider the example code above along with the following example: 01 sale-date. 05 the-year PIC 9(4). 05 the-month PIC 99. 05 the-day PIC 99. The names the-year, the-month, and the-day are ambiguous by themselves, since more than one data item is defined with those names. To specify a particular data item, for instance one of the items contained within the sale-date group, the programmer would use the-year IN sale-date (or the equivalent the-year OF sale-date). (This syntax is similar to the "dot notation" supported by most contemporary languages.) Other data levels[edit] A level-number of 66 is used to declare a re-grouping of previously defined items, irrespective of how those items are structured. This data level, also referred to by the associated RENAMES clause, is rarely used[115] and, circa 1988, was usually found in old programs. Its ability to ignore the hierarchical and logical structure data meant its use was not recommended and many installations forbade its use.[116] 01 customer-record. 05 cust-key PIC X(10). 05 cust-name. 10 cust-first-name PIC X(30). 10 cust-last-name PIC X(30). 05 cust-dob PIC 9(8). 05 cust-balance PIC 9(7)V99. 66 cust-personal-details RENAMES cust-name THRU cust-dob. 66 cust-all-details RENAMES cust-name THRU cust-balance. A 77 level-number indicates the item is stand-alone, and in such situations is equivalent to the level-number 01. For example, the following code declares two 77-level data items, property-name and sales-region, which are non-group data items that are independent of (not subordinate to) any other data items: 77 property-name PIC X(80). 77 sales-region PIC 9(5). An 88 level-number declares a condition name (a so-called 88-level) which is true when its parent data item contains one of the values specified in its VALUE clause.[117] For example, the following code defines two 88-level condition-name items that are true or false depending on the current character data value of the wage-type data item. When the data item contains a value of 'H', the condition-name wage-is-hourly is true, whereas when it contains a value of 'S' or 'Y', the condition-name wage-is-yearly is true. If the data item contains some other value, both of the condition-names are false. 01 wage-type PIC X. 88 wage-is-hourly VALUE "H". 88 wage-is-yearly VALUE "S", "Y". Data types[edit] Standard COBOL provides the following data types:[118] Data type Sample declaration Notes Alphabetic PIC A(30) May only contain letters or spaces Alphanumeric PIC X(30) May contain any characters Boolean PIC 1 USAGE BIT Data stored in the form of 0s and 1s, as a binary number Index USAGE INDEX Used to reference table elements National PIC N(30) Similar to alphanumeric, but using an extended character set, e.g. UTF-8 Numeric PIC 9(5)V9(5) May contain only numbers Object USAGE OBJECT REFERENCE May reference either an object or NULL Pointer USAGE POINTER Type safety is variable in COBOL. Numeric data is converted between different representations and sizes silently and alphanumeric data can be placed in any data item that can be stored as a string, including numeric and group data.[119] In contrast, object references and pointers may only be assigned from items of the same type and their values may be restricted to a certain type.[120] PICTURE clause[edit] A PICTURE (or PIC) clause is a string of characters, each of which represents a portion of the data item and what it may contain. Some picture characters specify the type of the item and how many characters or digits it occupies in memory. For example, a 9 indicates a decimal digit, and an S indicates that the item is signed. Other picture characters (called insertion and editing characters) specify how an item should be formatted. For example, a series of + characters define character positions as well as how a leading sign character is to be positioned within the final character data; the rightmost non-numeric character will contain the item's sign, while other character positions corresponding to a + to the left of this position will contain a space. Repeated characters can be specified more concisely by specifying a number in parentheses after a picture character; for example, 9(7) is equivalent to 9999999. Picture specifications containing only digit (9) and sign (S) characters define purely numeric data items, while picture specifications containing alphabetic (A) or alphanumeric (X) characters define alphanumeric data items. The presence of other formatting characters define edited numeric or edited alphanumeric data items.[121] Examples PICTURE clause Value in Value out PIC 9(5) 100 00100 "Hello" "Hello" (this is legal, but results in undefined behavior)[119] PIC +++++ -10 "  -10" (note leading spaces) PIC 99/99/9(4) 31042003 "31/04/2003" PIC *(4)9.99 100.50 "**100.50" 0 "****0.00" PIC X(3)BX(3)BX(3) "ABCDEFGHI" "ABC DEF GHI" USAGE clause[edit] The USAGE clause declares the format data is stored in. Depending on the data type, it can either complement or be used instead of a PICTURE clause. While it can be used to declare pointers and object references, it is mostly geared towards specifying numeric types. These numeric formats are:[122] Binary, where a minimum size is either specified by the PICTURE clause or by a USAGE clause such as BINARY-LONG. USAGE COMPUTATIONAL, where data may be stored in whatever format the implementation provides; often equivalent to  USAGE BINARY USAGE DISPLAY, the default format, where data is stored as a string Floating-point, in either an implementation-dependent format or according to IEEE 754. USAGE NATIONAL, where data is stored as a string using an extended character set USAGE PACKED-DECIMAL, where data is stored in the smallest possible decimal format (typically packed binary-coded decimal) Report writer[edit] The report writer is a declarative facility for creating reports. The programmer need only specify the report layout and the data required to produce it, freeing them from having to write code to handle things like page breaks, data formatting, and headings and footings.[123] Reports are associated with report files, which are files which may only be written to through report writer statements. FD report-out REPORT sales-report. Each report is defined in the report section of the data division. A report is split into report groups which define the report's headings, footings and details. Reports work around hierarchical control breaks. Control breaks occur when a key variable changes it value; for example, when creating a report detailing customers' orders, a control break could occur when the program reaches a different customer's orders. Here is an example report description for a report which gives a salesperson's sales and which warns of any invalid records: RD sales-report PAGE LIMITS 60 LINES FIRST DETAIL 3 CONTROLS seller-name. 01 TYPE PAGE HEADING. 03 COL 1 VALUE "Sales Report". 03 COL 74 VALUE "Page". 03 COL 79 PIC Z9 SOURCE PAGE-COUNTER. 01 sales-on-day TYPE DETAIL, LINE + 1. 03 COL 3 VALUE "Sales on". 03 COL 12 PIC 99/99/9999 SOURCE sales-date. 03 COL 21 VALUE "were". 03 COL 26 PIC $$$$9.99 SOURCE sales-amount. 01 invalid-sales TYPE DETAIL, LINE + 1. 03 COL 3 VALUE "INVALID RECORD:". 03 COL 19 PIC X(34) SOURCE sales-record. 01 TYPE CONTROL HEADING seller-name, LINE + 2. 03 COL 1 VALUE "Seller:". 03 COL 9 PIC X(30) SOURCE seller-name. The above report description describes the following layout: Sales Report Page 1 Seller: Howard Bromberg Sales on 10/12/2008 were $1000.00 Sales on 12/12/2008 were $0.00 Sales on 13/12/2008 were $31.47 INVALID RECORD: Howard Bromberg XXXXYY Seller: Howard Discount ... Sales Report Page 12 Sales on 08/05/2014 were $543.98 INVALID RECORD: William Selden 12O52014FOOFOO Sales on 30/05/2014 were $0.00 Four statements control the report writer: INITIATE, which prepares the report writer for printing; GENERATE, which prints a report group; SUPPRESS, which suppresses the printing of a report group; and TERMINATE, which terminates report processing. For the above sales report example, the procedure division might look like this: OPEN INPUT sales, OUTPUT report-out INITIATE sales-report PERFORM UNTIL 1 <> 1 READ sales AT END EXIT PERFORM END-READ VALIDATE sales-record IF valid-record GENERATE sales-on-day ELSE GENERATE invalid-sales END-IF END-PERFORM TERMINATE sales-report CLOSE sales, report-out . Procedure division[edit] Procedures[edit] The sections and paragraphs in the procedure division (collectively called procedures) can be used as labels and as simple subroutines. Unlike in other divisions, paragraphs do not need to be in sections.[124] Execution goes down through the procedures of a program until it is terminated.[125] To use procedures as subroutines, the PERFORM verb is used. This transfers control to the specified range of procedures and returns only upon reaching the end. A mine is "armed" when the screen is invalid. Unusual control flow can trigger mines, which cause control in performed procedures to return at unexpected times to unexpected locations. Procedures can be reached in three ways: they can be called with PERFORM, jumped to from a GO TO or through execution "falling through" the bottom of an above paragraph. Combinations of these invoke undefined behavior, creating mines. Specifically, mines occur when execution of a range of procedures would cause control flow to go past the last statement of a range of procedures already being performed.[126][127] For example, in the code in the adjacent image, a mine is tripped at the end of update-screen when the screen is invalid. When the screen is invalid, control jumps to the fix-screen section, which, when done, performs update-screen. This recursion triggers undefined behavior as there are now two overlapping ranges of procedures being performed. The mine is then triggered upon reaching the end of update-screen and means control could return to one of two locations: The first PERFORM statement The PERFORM statement in fix-screen, where it would then "fall-through" into update-screen and return to the first PERFORM statement upon reaching the end. Statements[edit] COBOL 2014 has 47 statements (also called verbs),[128] which can be grouped into the following broad categories: control flow, I/O, data manipulation and the report writer. The report writer statements are covered in the report writer section. Control flow[edit] COBOL's conditional statements are IF and EVALUATE. EVALUATE is a switch-like statement with the added capability of evaluating multiple values and conditions. This can be used to implement decision tables. For example, the following might be used to control a CNC lathe: EVALUATE TRUE ALSO desired-speed ALSO current-speed WHEN lid-closed ALSO min-speed THRU max-speed ALSO LESS THAN desired-speed PERFORM speed-up-machine WHEN lid-closed ALSO min-speed THRU max-speed ALSO GREATER THAN desired-speed PERFORM slow-down-machine WHEN lid-open ALSO ANY ALSO NOT ZERO PERFORM emergency-stop WHEN OTHER CONTINUE END-EVALUATE The PERFORM statement is used to define loops which are executed until a condition is true (not while true, which is more common in other languages). It is also used to call procedures or ranges of procedures (see the procedures section for more details). CALL and INVOKE call subprograms and methods, respectively. The name of the subprogram/method is contained in a string which may be a literal or a data item.[129] Parameters can be passed by reference, by content (where a copy is passed by reference) or by value (but only if a prototype is available).[130] CANCEL unloads subprograms from memory. GO TO causes the program to jump to a specified procedure. The GOBACK statement is a return statement and the STOP statement stops the program. The EXIT statement has six different formats: it can be used as a return statement, a break statement, a continue statement, an end marker or to leave a procedure.[131] Exceptions are raised by a RAISE statement and caught with a handler, or declarative, defined in the DECLARATIVES portion of the procedure division. Declaratives are sections beginning with a USE statement which specify the errors to handle. Exceptions can be names or objects. RESUME is used in a declarative to jump to the statement after the one that raised the exception or to a procedure outside the DECLARATIVES. Unlike other languages, uncaught exceptions may not terminate the program and the program can proceed unaffected. I/O[edit] File I/O is handled by the self-describing OPEN, CLOSE, READ, and WRITE statements along with a further three: REWRITE, which updates a record; START, which selects subsequent records to access by finding a record with a certain key; and UNLOCK, which releases a lock on the last record accessed. User interaction is done using ACCEPT and DISPLAY. Data manipulation[edit] The following verbs manipulate data: INITIALIZE, which sets data items to their default values. MOVE, which assigns values to data items. SET, which has 15 formats: it can modify indices, assign object references and alter table capacities, among other functions.[132] ADD, SUBTRACT, MULTIPLY, DIVIDE, and COMPUTE, which handle arithmetic (with COMPUTE assigning the result of a formula to a variable). ALLOCATE and FREE, which handle dynamic memory. VALIDATE, which validates and distributes data as specified in an item's description in the data division. STRING and UNSTRING, which concatenate and split strings, respectively. INSPECT, which tallies or replaces instances of specified substrings within a string. SEARCH, which searches a table for the first entry satisfying a condition. Files and tables are sorted using SORT and the MERGE verb merges and sorts files. The RELEASE verb provides records to sort and RETURN retrieves sorted records in order. Scope termination[edit] Some statements, such as IF and READ, may themselves contain statements. Such statements may be terminated in two ways: by a period (implicit termination), which terminates all unterminated statements contained, or by a scope terminator, which terminates the nearest matching open statement. *> Terminator period ("implicit termination") IF invalid-record IF no-more-records NEXT SENTENCE ELSE READ record-file AT END SET no-more-records TO TRUE. *> Scope terminators ("explicit termination") IF invalid-record IF no-more-records CONTINUE ELSE READ record-file AT END SET no-more-records TO TRUE END-READ END-IF END-IF Nested statements terminated with a period are a common source of bugs.[133][134] For example, examine the following code: IF x DISPLAY y. DISPLAY z. Here, the intent is to display y and z if condition x is true. However, z will be displayed whatever the value of x because the IF statement is terminated by an erroneous period after DISPLAY y. Another bug is a result of the dangling else problem, when two IF statements can associate with an ELSE. IF x IF y DISPLAY a ELSE DISPLAY b. In the above fragment, the ELSE associates with the  IF y  statement instead of the  IF x  statement, causing a bug. Prior to the introduction of explicit scope terminators, preventing it would require  ELSE NEXT SENTENCE  to be placed after the inner IF.[134] Self-modifying code[edit] The original (1959) COBOL specification supported the infamous  ALTER X TO PROCEED TO Y  statement, for which many compilers generated self-modifying code. X and Y are procedure labels, and the single  GO TO  statement in procedure X executed after such an ALTER statement means  GO TO Y  instead. Many compilers still support it,[135] but it was deemed obsolete in the COBOL 1985 standard and deleted in 2002.[136] Hello, world[edit] A "Hello, world" program in COBOL: IDENTIFICATION DIVISION. PROGRAM-ID. hello-world. PROCEDURE DIVISION. DISPLAY "Hello, world!" . When the – now famous – "Hello, World!" program example in The C Programming Language was first published in 1978 a similar mainframe COBOL program sample would have been submitted through JCL, very likely using a punch card reader, and 80 column punch cards. The listing below, with an empty DATA DIVISION, was tested using GNU/Linux and the System/370 Hercules emulator running MVS 3.8J. The JCL, written in July 2015, is derived from the Hercules tutorials and samples hosted by Jay Moseley.[137] In keeping with COBOL programming of that era, HELLO, WORLD is displayed in all capital letters. //COBUCLG JOB (001),'COBOL BASE TEST', 00010000 // CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1) 00020000 //BASETEST EXEC COBUCLG 00030000 //COB.SYSIN DD * 00040000 00000* VALIDATION OF BASE COBOL INSTALL 00050000 01000 IDENTIFICATION DIVISION. 00060000 01100 PROGRAM-ID. 'HELLO'. 00070000 02000 ENVIRONMENT DIVISION. 00080000 02100 CONFIGURATION SECTION. 00090000 02110 SOURCE-COMPUTER. GNULINUX. 00100000 02120 OBJECT-COMPUTER. HERCULES. 00110000 02200 SPECIAL-NAMES. 00120000 02210 CONSOLE IS CONSL. 00130000 03000 DATA DIVISION. 00140000 04000 PROCEDURE DIVISION. 00150000 04100 00-MAIN. 00160000 04110 DISPLAY 'HELLO, WORLD' UPON CONSL. 00170000 04900 STOP RUN. 00180000 //LKED.SYSLIB DD DSNAME=SYS1.COBLIB,DISP=SHR 00190000 // DD DSNAME=SYS1.LINKLIB,DISP=SHR 00200000 //GO.SYSPRINT DD SYSOUT=A 00210000 // 00220000 After submitting the JCL, the MVS console displayed: 19.52.48 JOB 3 $HASP100 COBUCLG ON READER1 COBOL BASE TEST 19.52.48 JOB 3 IEF677I WARNING MESSAGE(S) FOR JOB COBUCLG ISSUED 19.52.48 JOB 3 $HASP373 COBUCLG STARTED - INIT 1 - CLASS A - SYS BSP1 19.52.48 JOB 3 IEC130I SYSPUNCH DD STATEMENT MISSING 19.52.48 JOB 3 IEC130I SYSLIB DD STATEMENT MISSING 19.52.48 JOB 3 IEC130I SYSPUNCH DD STATEMENT MISSING 19.52.48 JOB 3 IEFACTRT - Stepname Procstep Program Retcode 19.52.48 JOB 3 COBUCLG BASETEST COB IKFCBL00 RC= 0000 19.52.48 JOB 3 COBUCLG BASETEST LKED IEWL RC= 0000 19.52.48 JOB 3 +HELLO, WORLD 19.52.48 JOB 3 COBUCLG BASETEST GO PGM=*.DD RC= 0000 19.52.48 JOB 3 $HASP395 COBUCLG ENDED Line 10 of the console listing above is highlighted for effect, the highlighting is not part of the actual console output. The associated compiler listing generated over four pages of technical detail and job run information, for the single line of output from the 14 lines of COBOL.


Criticism and defense[edit] Lack of structure[edit] In the 1970s, adoption of the structured programming paradigm was becoming increasingly widespread. Edsger Dijkstra, a preeminent computer scientist, wrote a letter to the editor of Communications of the ACM, published 1975 entitled "How do we tell truths that might hurt?", in which he was critical of COBOL and several other contemporary languages; remarking that "the use of COBOL cripples the mind".[138] In a published dissent to Dijkstra's remarks, the computer scientist Howard E. Tompkins claimed that unstructured COBOL tended to be "written by programmers that have never had the benefit of structured COBOL taught well", arguing that the issue was primarily one of training.[139] One cause of spaghetti code was the GO TO statement. Attempts to remove GO TOs from COBOL code, however, resulted in convoluted programs and reduced code quality.[140] GO TOs were largely replaced by the PERFORM statement and procedures, which promoted modular programming[140] and gave easy access to powerful looping facilities. However, PERFORM could only be used with procedures so loop bodies were not located where they were used, making programs harder to understand.[141] COBOL programs were infamous for being monolithic and lacking modularization.[142] COBOL code could only be modularized through procedures, which were found to be inadequate for large systems. It was impossible to restrict access to data, meaning a procedure could access and modify any data item. Furthermore, there was no way to pass parameters to a procedure, an omission Jean Sammet regarded as the committee's biggest mistake.[143] Another complication stemmed from the ability to PERFORM THRU a specified sequence of procedures. This meant that control could jump to and return from any procedure, creating convoluted control flow and permitting a programmer to break the single-entry single-exit rule.[144] This situation improved as COBOL adopted more features. COBOL-74 added subprograms, giving programmers the ability to control the data each part of the program could access. COBOL-85 then added nested subprograms, allowing programmers to hide subprograms.[145] Further control over data and code came in 2002 when object-oriented programming, user-defined functions and user-defined data types were included. Nevertheless, much important legacy COBOL software uses unstructured code, which has become unmaintainable. It can be too risky and costly to modify even a simple section of code, since it may be used from unknown places in unknown ways.[146] Compatibility issues[edit] COBOL was intended to be a highly portable, "common" language. However, by 2001, around 300 dialects had been created.[147] One source of dialects was the standard itself: the 1974 standard was composed of one mandatory nucleus and eleven functional modules, each containing two or three levels of support. This permitted 104,976 official variants.[148] COBOL-85 was not fully compatible with earlier versions, and its development was controversial. Joseph T. Brophy, the CIO of Travelers Insurance, spearheaded an effort to inform COBOL users of the heavy reprogramming costs of implementing the new standard.[149] As a result, the ANSI COBOL Committee received more than 2,200 letters from the public, mostly negative, requiring the committee to make changes. On the other hand, conversion to COBOL-85 was thought to increase productivity in future years, thus justifying the conversion costs.[150] Verbose syntax[edit] COBOL: /koh′bol/, n. A weak, verbose, and flabby language used by code grinders to do boring mindless things on dinosaur mainframes. [...] Its very name is seldom uttered without ritual expressions of disgust or horror. “ ” The Jargon File 4.4.8.[151] COBOL syntax has often been criticized for its verbosity. Proponents say that this was intended to make the code self-documenting, easing program maintenance.[152] COBOL was also intended to be easy for programmers to learn and use,[153] while still being readable to non-technical staff such as managers.[154][155][156][157] The desire for readability led to the use of English-like syntax and structural elements, such as nouns, verbs, clauses, sentences, sections, and divisions. Yet by 1984, maintainers of COBOL programs were struggling to deal with "incomprehensible" code[156] and the main changes in COBOL-85 were there to help ease maintenance.[81] Jean Sammet, a short-range committee member, noted that "little attempt was made to cater to the professional programmer, in fact people whose main interest is programming tend to be very unhappy with COBOL" which she attributed to COBOL's verbose syntax.[158] Isolation from the computer science community[edit] The COBOL community has always been isolated from the computer science community. No academic computer scientists participated in the design of COBOL: all of those on the committee came from commerce or government. Computer scientists at the time were more interested in fields like numerical analysis, physics and system programming than the commercial file-processing problems which COBOL development tackled.[159] Jean Sammet attributed COBOL's unpopularity to an initial "snob reaction" due to its inelegance, the lack of influential computer scientists participating in the design process and a disdain for business data processing.[160] The COBOL specification used a unique "notation", or metalanguage, to define its syntax rather than the new Backus–Naur form because few committee members had heard of it. This resulted in "severe" criticism.[161][162][59] Later, COBOL suffered from a shortage of material covering it; it took until 1963 for introductory books to appear (with Richard D. Irwin publishing a college textbook on COBOL in 1966).[163] By 1985, there were twice as many books on Fortran and four times as many on BASIC as on COBOL in the Library of Congress.[105] University professors taught more modern, state-of-the-art languages and techniques instead of COBOL which was said to have a "trade school" nature.[164] Donald Nelson, chair of the CODASYL COBOL committee, said in 1984 that "academics ... hate COBOL" and that computer science graduates "had 'hate COBOL' drilled into them".[165] A 2013 poll by Micro Focus found that 20% of university academics thought COBOL was outdated or dead and that 55% believed their students thought COBOL was outdated or dead. The same poll also found that only 25% of academics had COBOL programming on their curriculum even though 60% thought they should teach it.[166] In contrast, in 2003, COBOL featured in 80% of information systems curricula in the United States, the same proportion as C++ and Java.[167] There was also significant condescension towards COBOL in the business community from users of other languages, for example FORTRAN or assembler, implying that COBOL could be used only for non-challenging problems.[citation needed] Concerns about the design process[edit] Doubts have been raised about the competence of the standards committee. Short-term committee member Howard Bromberg said that there was "little control" over the development process and that it was "plagued by discontinuity of personnel and ... a lack of talent."[69] Jean Sammet and Jerome Garfunkel also noted that changes introduced in one revision of the standard would be reverted in the next, due as much to changes in who was in the standard committee as to objective evidence.[168] COBOL standards have repeatedly suffered from delays: COBOL-85 arrived five years later than hoped,[169] COBOL 2002 was five years late,[1] and COBOL 2014 was six years late.[88][170] To combat delays, the standard committee allowed the creation of optional addenda which would add features more quickly than by waiting for the next standard revision. However, some committee members raised concerns about incompatibilities between implementations and frequent modifications of the standard.[171] Influences on other languages[edit] COBOL's data structures influenced subsequent programming languages. Its record and file structure influenced PL/I and Pascal, and the REDEFINES clause was a predecessor to Pascal's variant records. Explicit file structure definitions preceded the development of database management systems and aggregated data was a significant advance over Fortran's arrays.[105] PICTURE data declarations were incorporated into PL/I, with minor changes. COBOL's COPY facility, although considered "primitive",[172] influenced the development of include directives.[105] The focus on portability and standardization meant programs written in COBOL could be portable and facilitated the spread of the language to a wide variety of hardware platforms and operating systems.[173] Additionally, the well-defined division structure restricts the definition of external references to the Environment Division, which simplifies platform changes in particular.[174]


See also[edit] Computer programming portal COBOL compilers Programming language genealogies Alphabetical list of programming languages Comparison of programming languages CODASYL


Notes[edit] ^ a b c Specifically influenced COBOL 2002's object-oriented features.[1][2][3] ^ The tombstone is currently at the Computer History Museum.[54] ^ Vendor-specific extensions cause many implementations to have far more: one implementation recognizes over 1,100 keywords.[102]


References[edit] Citations[edit] ^ a b c Saade, Henry; Wallace, Ann (October 1995). "COBOL '97: A Status Report". Dr. Dobb's Journal. Retrieved 21 April 2014.  ^ a b Arranga, Edmund C.; Coyle, Frank P. (February 1998). Object-Oriented COBOL. Cambridge University Press. p. 15. ISBN 978-0132611404. Object-Oriented COBOL's style reflects the influence of Smalltalk and C++.  ^ Arranga, Edmund C.; Coyle, Frank P. (March 1997). "Cobol: Perception and Reality". Computer. IEEE. 30 (3): 127. doi:10.1109/2.573683. ISSN 0018-9162. (Subscription required (help)).  ^ Imajo, Tetsuji; et al. (September 2000). COBOL Script: a business-oriented scripting language. Enterprise Distributed Object Computing Conference. Makuhari, Japan: IEEE. doi:10.1109/EDOC.2000.882363. ISBN 0769508650. (Subscription required (help)).  ^ Radin, George (1978). Wexelblat, Richard L., ed. The early history and characteristics of PL/I. History of Programming Languages. Academic Press (published 1981). p. 572. doi:10.1145/800025.1198410. ISBN 0127450408. (Subscription required (help)).  ^ Mitchell, Robert L. (14 March 2012). "Brain drain: Where Cobol systems go from here". Computerworld. Retrieved 9 February 2015.  ^ a b c Mitchell, Robert L. (4 October 2006). "Cobol: Not Dead Yet". Computerworld. Retrieved 27 April 2014.  ^ Porter Adams, Vicki (5 October 1981). "Captain Grace M. Hopper: the Mother of COBOL". InfoWorld. 3 (20): 33. ISSN 0199-6649.  ^ Betts, Mitch (6 Jan 1992). "Grace Hopper, mother of Cobol, dies". Computerworld. 26 (1): 14. ISSN 0010-4841.  ^ Lohr, Steve (2008). Go To: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Maverick Scientists, and Iconoclasts--The Programmers Who Created the Software Revolution. Basic Books. p. 52. ISBN 978-0786730766.  ^ Ensmenger, Nathan L. (2009). The Computer Boys Take Over: Computers, Programmers, and the Politics of Technical Expertise. MIT Press. p. 100. ISBN 978-0262050937. LCCN 2009052638.  ^ "ISO/IEC 1989:2014". ISO. 26 May 2014. Retrieved 7 June 2014.  ^ http://cs.brown.edu/~adf/programming_languages.html ^ Beyer 2009, p. 282. ^ Gürer, Denise (2002-06-01). "Pioneering Women in Computer Science". SIGCSE Bull. 34 (2): 175–180. doi:10.1145/543812.543853. ISSN 0097-8418.  ^ Beyer 2009, pp. 281–282. ^ Sammet 1978a, p. 200. ^ Beyer 2009, p. 283. ^ Beyer 2009, p. 284. ^ "Early Meetings of the Conference on Data Systems Languages". IEEE Annals of the History of Computing. 7 (4): 316. 1985. doi:10.1109/MAHC.1985.10047. (Subscription required (help)).  ^ a b c d e Sammet 2004, p. 104. ^ Beyer 2009, p. 286. ^ a b Conner 1984, p. ID/9. ^ Sammet 1978a, p. 201. ^ a b c d Bemer 1971, p. 132. ^ Beyer 2009, p. 288. ^ Sammet 1978a, p. 203. ^ CODASYL 1969, § I.2.1.1. ^ Sammet 1978a, p. 204. ^ CODASYL 1969, § I.1.2. ^ Beyer 2009, p. 290. ^ Sammet, Jean (1978). "The Early History of COBOL". ACM SIGPLAN Notices. Association for Computing Machinery, Inc. 13 (8): 121–161. doi:10.1145/960118.808378. Retrieved 14 January 2010. (Subscription required (help)).  ^ Sammet 1978a, p. 217. ^ a b Beyer 2009, p. 292. ^ Bemer 1971, p. 131. ^ Beyer 2009, p. 296. ^ Sammet 1978a, p. 221. ^ Beyer 2009, p. 291. ^ "Oral History of Captain Grace Hopper" (PDF). Computer History Museum. December 1980. p. 37. Retrieved 28 June 2014.  ^ Sammet 1978a, p. 218. ^ Marcotty 1978, p. 268. ^ Sammet 1978a, pp. 205–206. ^ a b Sammet 1978a, Figure 8. ^ Sammet 1978a, pp. 230–231. ^ ISO/IEC JTC 1/SC 22/WG 4 2001, p. 846. ^ Sammet 1978a, p. 220. ^ Sammet 1978a, p. 228. ^ Sammet 1978a, p. 210. ^ Sullivan, Patricia (25 June 2004). "Computer Pioneer Bob Bemer, 84". The Washington Post. p. B06. Retrieved 28 June 2014.  ^ Bemer, Bob. "Thoughts on the Past and Future". Archived from the original on 16 May 2014. Retrieved 28 June 2014.  ^ Beyer 2009, p. 293. ^ Beyer 2009, p. 294. ^ a b "The Story of the COBOL Tombstone" (PDF). The Computer Museum Report. The Computer Museum. 13: 8–9. Summer 1985. Archived (PDF) from the original on 3 April 2014. Retrieved 29 June 2014.  ^ "COBOL Tombstone". Computer History Museum. Retrieved 29 June 2014.  ^ Bemer 1971, p. 130. ^ Beyer 2009, p. 289. ^ CODASYL 1969, § I.1.1. ^ Brown 1976, p. 47. ^ a b c Bemer 1971, p. 133. ^ a b Beyer 2009, p. 297. ^ Williams, Kathleen Broome (10 November 2012). Grace Hopper: Admiral of the Cyber Sea. US Naval Institute Press. ISBN 978-1612512655. OCLC 818867202.  ^ Compaq Computer Corporation: Compaq COBOL Reference Manual, Order Number: AA–Q2G0F–TK October 2000, Page xviii; Fujitsu Corporation: Net Cobol Language Reference, Version 15, January 2009; IBM Corporation: Enterprise COBOL for z/OS Language Reference, Version 4 Release 1, SC23-8528-00, December 2007 ^ Garfunkel, Jerome (11 November 1984). "In defense of Cobol". Computerworld. 18 (24): ID/19.  ^ a b Bemer 1971, p. 134. ^ Brown 1976, p. 48. ^ CODASYL 1969, § I.2.2.4. ^ CODASYL 1969, § I.2.3. ^ a b c d Follet, Robert H.; Sammet, Jean E. (2003). Ralston, Anthony; Reilly, Edwin D.; Hemmendinger, David, eds. Programming language standards. Encyclopedia of Computer Science (4th ed.). Wiley. p. 1467. ISBN 0470864125. (Subscription required (help)).  ^ a b Beyer 2009, p. 301. ^ a b Brown 1976, p. 49. ^ Brown 1976, p. 52. ^ Taylor, Alan (2 August 1972). "Few Realise Wasted Resources of Local DP Schools". Computerworld. 6 (31): 11.  ^ Triance, J. M. (1974). Programming in COBOL: A Course of Twelve Television Lectures. Manchester University Press. p. 87. ISBN 0719005922.  ^ Klein 2010, p. 16. ^ Baird, George N.; Oliver, Paul (May 1977). "1974 Standard (X3.23–1974)". Programming Language Standards—Who Needs Them? (PDF) (Technical report). Department of the Navy. pp. 19–21. Archived (PDF) from the original on 7 January 2014. Retrieved 7 January 2014.  ^ Culleton, John R., Jr. (23 July 1975). "'Spotty' Availability A Problem.." Computerworld. 9 (30): 17. ISSN 0010-4841. CS1 maint: Multiple names: authors list (link) ^ Simmons, Williams B. (18 June 1975). "Does Cobol's Report Writer Really Miss the Mark?". Computerworld. 9 (25): 20. ISSN 0010-4841.  ^ Shoor, Rita (26 January 1981). "User Threatens Suit Over Ansi Cobol-80". Computerworld. 15 (4): 1, 8. ISSN 0010-4841.  ^ Shoor, Rita (26 October 1981). "DPMA Takes Stand Against Cobol Draft". Computerworld. 15 (43): 1–2. ISSN 0010-4841.  ^ a b c Gallant, John (16 September 1985). "Revised Cobol standard may be ready in late '85". Computerworld. 19 (37): 1, 8. ISSN 0010-4841.  ^ a b "Expert addresses Cobol 85 standard". Computerworld. 19 (37): 41, 48. 16 September 1985. ISSN 0010-4841.  ^ Paul, Lois (15 March 1982). "Responses to Cobol-80 Overwhelmingly Negative". Computerworld. 16 (11): 1, 5. ISSN 0010-4841.  ^ Paul, Lois (25 April 1983). "Study Sees Few Problems Switching to Cobol-8X". Computerworld. 17 (17): 1, 6.  ^ Gillin, Paul (19 November 1984). "DEC users get head start implementing Cobol-80". Computerworld. 18 (47): 1, 6. ISSN 0010-4841.  ^ Garfunkel 1987, p. 150. ^ Roy, M. K.; Dastidar, D. Ghost (1 June 1989). "Features of COBOL-85". COBOL Programming: Problems and Solutions (2nd ed.). McGraw-Hill Education. pp. 438–451. ISBN 978-0074603185.  ^ Robinson, Brian (9 July 2009). "Cobol remains old standby at agencies despite showing its age". FCW. Public Sector Media Group. Retrieved 26 April 2014.  ^ a b "COBOL Standards". Micro Focus. Archived from the original on 31 March 2004. Retrieved 2 September 2014.  ^ "NetCOBOL for .Net". netcobol.com. GTSoftware. 2013. Archived from the original on 8 July 2014. Retrieved 29 January 2014.  ^ "A list of Codasyl Cobol features". Computerworld. 10 September 1984. p. ID/28. ISSN 0010-4841. Retrieved 8 June 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2001, Annex F. ^ Klein 2010, p. 21. ^ a b "JTC1/SC22/WG4 - COBOL". ISO. 30 June 2010. Archived from the original on 14 February 2014. Retrieved 27 April 2014.  ^ Billman, John; Klink, Huib (27 February 2008). "Thoughts on the Future of COBOL Standardization" (PDF). Archived from the original (PDF) on 11 July 2009. Retrieved 14 August 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2014, Annex E. ^ Schricker, Don (2 December 1998). "J4: COBOL Standardization". Micro Focus. Archived from the original on 24 February 1999. Retrieved 12 July 2014.  ^ Kizior, Ronald J.; Carr, Donald; Halpern, Paul. "Does COBOL Have a Future?" (PDF). The Proceedings of the Information Systems Education Conference 2000. 17 (126). Archived from the original (PDF) on 17 August 2016. Retrieved 30 September 2012.  ^ Carr & Kizior 2003, p. 16. ^ Carr & Kizior 2003, p. 10. ^ "Cobol brain drain: Survey results". Computerworld. 14 March 2012. Retrieved 27 April 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 8.9. ^ "Reserved Words Table". Micro Focus Visual COBOL 2.2 COBOL Language Reference. Micro Focus. Retrieved 3 March 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 8.3.1.2. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 8.3.2. ^ a b c d Shneiderman 1985, p. 349. ^ a b ISO/IEC JTC 1/SC 22/WG 4 2001, § F.2. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § D.18.2. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § D.18. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, p. 108. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, p. 896. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § D.2.1. ^ "File Organizations". File Handling. Micro Focus. 1998. Retrieved 27 June 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 8.5.1.2. ^ Cutler 2014, Appendix A. ^ Hubbell, Thane (1999). Sams Teach Yourself COBOL in 24 hours. SAMS Publishing. p. 40. ISBN 978-0672314537. LCCN 98087215.  ^ McCracken & Golden 1988, § 19.9. ^ Cutler 2014, § 5.8.5. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 8.5.2. ^ a b ISO/IEC JTC 1/SC 22/WG 4 2014, § 14.9.24. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 14.9.35. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 13.18.40. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 13.18.60.3. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, p. 855. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 14.4. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 14.6.3. ^ Field, John; Ramalingam, G. (September 1999). Identifying Procedural Structure in Cobol Programs (PDF). PASTE '99. doi:10.1145/381788.316163. ISBN 1581131372.  ^ Veerman, Niels; Verhoeven, Ernst-Jan (November 2006). "Cobol minefield detection" (PDF). Software—Practice and Experience. Wiley. 36 (14). doi:10.1002/spe.v36:14. Archived from the original (PDF) on 6 March 2007.  ^ ISO/IEC JTC 1/SC 22/WG4 2014, § 14.9. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, §§ 14.9.4, 14.9.22. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § D.6.5.2.2. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, § 14.9.13.1. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, §14.9.35.1. ^ ISO/IEC JTC 1/SC 22/WG 4 2014, p. 899. ^ a b McCracken & Golden 1988, § 8.4. ^ Examples of compiler support for ALTER can be seen in the following: Tiffin, Brian (18 September 2013). "September 2014". GNU Cobol. Retrieved 5 January 2014.  "The ALTER Statement". Micro Focus Visual COBOL 2.2 for Visual Studio 2013 COBOL Language Reference. Micro Focus. Retrieved 5 January 2014.  "ALTER Statement (Nucleus)" (PDF). COBOL85 Reference Manual. Fujitsu. November 1996. p. 555. Archived from the original (PDF) on 6 January 2014. Retrieved 5 January 2014.  "ALTER Statement". Enterprise COBOL for z/OS Language Reference. IBM. June 2013. Retrieved 5 January 2014.  ^ ISO/IEC JTC 1/SC 22/WG 4 2001, § F.1. ^ Moseley, Jay (17 January 2015). "COBOL Compiler from MVT". Retrieved 19 July 2015.  ^ Dijkstra, Edsger W. (18 June 1975). "How do we tell truths that might hurt?". University of Texas at Austin. EWD498. Retrieved August 29, 2007.  ^ Tompkins, H. E. (1983). "In defense of teaching structured COBOL as computer science". ACM SIGPLAN Notices. 18 (4): 86. doi:10.1145/948176.948186. (Subscription required (help)).  ^ a b Riehle 1992, p. 125. ^ Shneiderman 1985, pp. 349–350. ^ Coughlan, Michael (16 March 2014). Beginning COBOL for Programmers. Apress. p. 4. ISBN 1430262532. Retrieved 13 August 2014.  ^ Sammet 1978b, p. 258. ^ Riehle 1992, p. 126. ^ Riehle 1992, p. 127. ^ "COBOL and Legacy Code as a Systemic Risk | naked capitalism". 2016-07-19. Retrieved 2016-07-23.  ^ Lämmel, Ralf; Verhoef, Chris (November–December 2001). "Cracking the 500-language problem" (PDF). IEEE Software. 18 (6): 79. doi:10.1109/52.965809. Archived from the original (PDF) on 19 August 2014.  ^ Howkins, T. J.; Harandi, M. T. (April 1979). "Towards more portable COBOL". The Computer Journal. BCS. 22 (4): 290. doi:10.1093/comjnl/22.4.290.  ^ Garfunkel 1987, p. 11. ^ Garfunkel 1987, p. 15. ^ Raymond, Eric S. (1 October 2004). "COBOL". The Jargon File, version 4.4.8. Archived from the original on 30 August 2014. Retrieved 13 December 2014.  ^ Brown 1976, p. 53. ^ CODASYL 1969, § II.1.1. ^ Shneiderman 1985, p. 350. ^ Sammet 1961, p. 381. ^ a b Conner 1984, p. ID/10. ^ Marcotty 1978, p. 263. ^ Conner 1984, p. ID/14. ^ Sammet 1961, p. 380. ^ Marcotty 1978, p. 266. ^ Sammet 1978b, p. 255. ^ Shneiderman 1985, pp. 348–349. ^ https://books.bibliopolis.com/main/find/2200821/COBOL-Logic-and-Programming-third-edition-1974-McCameron-Fritz-oldcomputerbooks-com.html ^ Shneiderman 1985, p. 351. ^ "An interview: Cobol defender". Computerworld. 10 September 1984. pp. ID/29–ID/32. ISSN 0010-4841. Retrieved 8 June 2014.  ^ "Academia needs more support to tackle the IT skills gap" (Press release). Micro Focus. 7 March 2013. Retrieved 4 August 2014.  ^ Carr & Kizior 2003, p. 13. ^ Sammet, Jean; Garfunkel, Jerome (October 1985). "Summary of Changes in COBOL, 1960–1985". Annals of the History of Computing. IEEE. 7 (4): 342. doi:10.1109/MAHC.1985.10033. (Subscription required (help)).  ^ Cook, Margaret M. (June 1978). Ghosh, Sakti P.; Liu, Leonard Y., eds. Data Base Facility for COBOL 80 (PDF). 1978 National Computer Conference. Anaheim, California: AFIPS Press. pp. 1107–1112. doi:10.1109/AFIPS.1978.63. LCCN 55-44701. Retrieved 2 September 2014. The earliest date that a new COBOL standard could be developed and approved is the year 1980 [...].  ^ "Resolutions from WG4 meeting 24 - June 26-28, 2003 Las Vegas, Nevada, USA". 11 July 2003. p. 1. Archived from the original (doc) on 8 March 2016. Retrieved 29 June 2014. a June 2008 revision of the COBOL standard  ^ Babcock, Charles (14 July 1986). "Cobol standard add-ons flayed". Computerworld. 20 (28): 1, 12.  ^ Marcotty, Michael (1978). Wexelblat, Richard L., ed. Full text of all questions submitted. History of Programming Languages. Academic Press (published 1981). p. 274. doi:10.1145/800025.1198371. ISBN 0127450408. (Subscription required (help)).  ^ This can be seen in: "Visual COBOL". IBM PartnerWorld. IBM. 21 August 2013. Archived from the original on 12 July 2014. Retrieved 5 February 2014. Micro Focus Visual COBOL delivers the next generation of COBOL development and deployment for Linux x86-64, Linux for System z, AIX, HP/UX, Solaris, and Windows.  "COBOL Compilers family". ibm.com. IBM. Archived from the original on 23 February 2014. Retrieved 5 February 2014.  Tiffin, Brian (4 January 2014). "What platforms are supported by GNU Cobol?". Archived from the original on 14 December 2013. Retrieved 5 February 2014.  ^ Coughlan, Michael (2002). "Introduction to COBOL". Retrieved 3 February 2014.  Sources[edit] Bemer, Bob (1971). "A View of the History of COBOL" (PDF). Honeywell Computer Journal. Honeywell. 5 (3). Retrieved 28 June 2014.  Beyer, Kurt (2009). Grace Hopper and the Invention of the Information Age. MIT Press. ISBN 978-0262013109. LCCN 2008044229.  Brown, William R. (1 December 1976). "COBOL". In Belzer, Jack; Holzman, Albert G.; Kent, Allen. Encyclopedia of Computer Science and Technology: Volume 5. CRC Press. ISBN 978-0824722555.  Carr, Donald E.; Kizior, Ronald J. (31 December 2003). "Continued Relevance of COBOL in Business and Academia: Current Situation and Comparison to the Year 2000 Study" (PDF). Information Systems Education Journal. AITP. 1 (52). ISSN 1545-679X. Retrieved 4 August 2014.  CODASYL (July 1969). "CODASYL COBOL Journal of Development 1968". National Bureau of Standards. ISSN 0591-0218. LCCN 73601243.  Conner, Richard L. (14 May 1984). "Cobol, your age is showing". Computerworld. International Data Group. 18 (20): ID/7–ID/18. ISSN 0010-4841.  Cutler, Gary (9 April 2014). "GNU COBOL Programmer's Guide" (PDF) (3rd ed.). Retrieved 25 February 2014.  Garfunkel, Jerome (1987). The COBOL 85 Example Book. Wiley. ISBN 0471804614.  ISO/IEC JTC 1/SC 22/WG 4 (4 December 2001). "ISO/IEC IS 1989:2001 – Programming language COBOL". ISO. Archived from the original (ZIP of PDF) on 24 January 2002. Retrieved 2 September 2014.  ISO/IEC JTC 1/SC 22/WG 4 (31 October 2014). INCITS/ISO/IEC 1989:2014 [2014] – Programming language COBOL. INCITS.  Klein, William M. (4 October 2010). "The History of COBOL" (PDF). Archived from the original (PDF) on 7 January 2014. Retrieved 7 January 2014.  Marcotty, Michael (1978). Wexelblat, Richard L., ed. Transcript of question and answer session. History of Programming Languages. Academic Press (published 1981). p. 263. doi:10.1145/800025.1198370. ISBN 0127450408. (Subscription required (help)).  McCracken, Daniel D.; Golden, Donald G. (1988). A Simplified Guide to Structured COBOL Programming (2nd ed.). Wiley. ISBN 0471610542. LCCN 87034608.  Riehle, Richard L. (August 1992). "PERFORM considered harmful". Communications of the ACM. ACM. 35 (8): 125–128. doi:10.1145/135226.376106. (Subscription required (help)).  Sammet, Jean E. (May 1961). A method of combining ALGOL and COBOL. Papers presented at the May 9–11, 1961, western joint IRE–AIEE–ACM computer conference. ACM. pp. 379–387. doi:10.1145/1460690.1460734. (Subscription required (help)).  Sammet, Jean E. (1978a). Wexelblat, Richard L., ed. The early history of COBOL. History of Programming Languages. Academic Press (published 1981). doi:10.1145/800025.1198367. ISBN 0127450408. (Subscription required (help)).  Sammet, Jean E. (1978b). Wexelblat, Richard L., ed. Transcript of presentation. History of Programming Languages. Academic Press (published 1981). doi:10.1145/800025.1198368. ISBN 0127450408. (Subscription required (help)).  Sammet, Jean E. (23 July 2004). "COBOL". In Reilly, Edwin D. Concise Encyclopedia of Computer Science. Wiley. ISBN 978-0470090954. OCLC 249810423.  Shneiderman, B. (October 1985). "The Relationship Between COBOL and Computer Science". Annals of the History of Computing. IEEE. 7 (4): 348–352. doi:10.1109/MAHC.1985.10041. 


External links[edit] Find more aboutCOBOLat Wikipedia's sister projects Definitions from Wiktionary Media from Wikimedia Commons Textbooks from Wikibooks Learning resources from Wikiversity Data from Wikidata COBOL at Curlie (based on DMOZ) GnuCobol v t e Programming languages Comparison Timeline History Assembly BASIC C C++ C# COBOL Fortran Аналитик Go Groovy Haskell Java JavaScript (JS) Kotlin Lisp Lua Objective-C Pascal Perl PHP Python Rexx Ruby Shell Smalltalk Swift Visual Basic .NET (VB.NET) VBScript more... Category Lists Alphabetical Categorical Generational Non-English-based v t e ISO standards by standard number List of ISO standards / ISO romanizations / IEC standards 1–9999 1 2 3 4 5 6 7 9 16 31 -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 128 216 217 226 228 233 259 269 302 306 428 518 519 639 -1 -2 -3 -5 -6 646 690 732 764 843 898 965 1000 1004 1007 1073-1 1413 1538 1745 1989 2014 2015 2022 2047 2108 2145 2146 2240 2281 2709 2711 2788 2848 2852 3029 3103 3166 -1 -2 -3 3297 3307 3602 3864 3901 3977 4031 4157 4217 4909 5218 5428 5775 5776 5800 5964 6166 6344 6346 6385 6425 6429 6438 6523 6709 7001 7002 7098 7185 7200 7498 7736 7810 7811 7812 7813 7816 8000 8178 8217 8571 8583 8601 8632 8652 8691 8807 8820-5 8859 -1 -2 -3 -4 -5 -6 -7 -8 -8-I -9 -10 -11 -12 -13 -14 -15 -16 8879 9000/9001 9075 9126 9293 9241 9362 9407 9506 9529 9564 9594 9660 9897 9899 9945 9984 9985 9995 10000–19999 10005 10006 10007 10116 10118-3 10160 10161 10165 10179 10206 10218 10303 -11 -21 -22 -28 -238 10383 10487 10585 10589 10646 10664 10746 10861 10957 10962 10967 11073 11170 11179 11404 11544 11783 11784 11785 11801 11898 11940 (-2) 11941 11941 (TR) 11992 12006 12182 12207 12234-2 13211 -1 -2 13216 13250 13399 13406-2 13450 13485 13490 13567 13568 13584 13616 14000 14031 14224 14289 14396 14443 14496 -2 -3 -6 -10 -11 -12 -14 -17 -20 14644 14649 14651 14698 14750 14764 14882 14971 15022 15189 15288 15291 15292 15398 15408 15444 -3 15445 15438 15504 15511 15686 15693 15706 -2 15707 15897 15919 15924 15926 15926 WIP 15930 16023 16262 16612-2 16750 16949 (TS) 17024 17025 17100 17203 17369 17442 17799 18000 18004 18014 18245 18629 18916 19005 19011 19092 (-1 -2) 19114 19115 19125 19136 19439 19500 19501 19502 19503 19505 19506 19507 19508 19509 19510 19600:2014 19752 19757 19770 19775-1 19794-5 19831 20000+ 20000 20022 20121 20400 21000 21047 21500 21827:2002 22000 23270 23271 23360 24517 24613 24617 24707 25178 25964 26000 26300 26324 27000 series 27000 27001 27002 27006 27729 28000 29110 29148 29199-2 29500 30170 31000 32000 38500 40500 42010 55000 80000 -1 -2 -3 Category Authority control LCCN: sh85027548 GND: 4010323-7 BNF: cb11941315s (data) Retrieved from "https://en.wikipedia.org/w/index.php?title=COBOL&oldid=810937229" Categories: COBOL.NET programming languages1959 softwareClass-based programming languagesComputer-related introductions in 1959Cross-platform softwareObject-oriented programming languagesProcedural programming languagesProgramming languages created by womenProgramming languages created in 1959Programming languages with an ISO standardStatically typed programming languagesHidden categories: Pages containing links to subscription-only contentCS1 maint: Multiple names: authors listGood articlesUse American English from October 2014All Wikipedia articles written in American EnglishAll articles with unsourced statementsArticles with unsourced statements from October 2017Articles with unsourced statements from March 2014All articles lacking reliable referencesArticles lacking reliable references from January 2015Articles with specifically marked weasel-worded phrases from March 2014Articles with unsourced statements from March 2017Articles with DMOZ linksWikipedia articles with LCCN identifiersWikipedia articles with GND identifiersWikipedia articles with BNF identifiers


Navigation menu Personal tools Not logged inTalkContributionsCreate accountLog in Namespaces ArticleTalk Variants Views ReadEditView history More Search Navigation Main pageContentsFeatured contentCurrent eventsRandom articleDonate to WikipediaWikipedia store Interaction HelpAbout WikipediaCommunity portalRecent changesContact page Tools What links hereRelated changesUpload fileSpecial pagesPermanent linkPage informationWikidata itemCite this page Print/export Create a bookDownload as PDFPrintable version In other projects Wikimedia Commons Languages AfrikaansالعربيةAzərbaycancaবাংলাБеларускаяБългарскиBosanskiCatalàČeštinaDanskDeutschEestiΕλληνικάEspañolEsperantoEuskaraفارسیFrançaisGaeilgeGalego한국어ՀայերենHrvatskiBahasa IndonesiaInterlinguaItalianoעבריתქართულიКыргызчаLatinaLatviešuLietuviųMagyarമലയാളംमराठीBahasa MelayuNederlands日本語NorskOʻzbekcha/ўзбекчаPolskiPortuguêsRomânăРусскийScotsSimple EnglishSlovenčinaSlovenščinaСрпски / srpskiSrpskohrvatski / српскохрватскиSuomiSvenskaதமிழ்తెలుగుไทยТоҷикӣTürkçeУкраїнськаTiếng Việtייִדיש中文 Edit links This page was last edited on 18 November 2017, at 12:48. Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. Privacy policy About Wikipedia Disclaimers Contact Wikipedia Developers Cookie statement Mobile view (window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"1.400","walltime":"1.632","ppvisitednodes":{"value":13319,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":268187,"limit":2097152},"templateargumentsize":{"value":11839,"limit":2097152},"expansiondepth":{"value":17,"limit":40},"expensivefunctioncount":{"value":8,"limit":500},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 1351.334 1 -total"," 34.26% 462.945 2 Template:Reflist"," 17.56% 237.308 127 Template:Sfn"," 12.20% 164.901 34 Template:Cite_web"," 9.48% 128.109 31 Template:Cite_journal"," 8.59% 116.132 174 Template:Code"," 7.01% 94.738 2 Template:Infobox"," 6.70% 90.592 1 Template:Infobox_programming_language"," 4.79% 64.717 15 Template:Cite_book"," 3.88% 52.450 5 Template:Fix"]},"scribunto":{"limitreport-timeusage":{"value":"0.692","limit":"10.000"},"limitreport-memusage":{"value":6879266,"limit":52428800}},"cachereport":{"origin":"mw1322","timestamp":"20180111154725","ttl":86400,"transientcontent":true}}});});(window.RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgBackendResponseTime":92,"wgHostname":"mw1245"});});


ISO_1989 - Photos and All Basic Informations

ISO_1989 More Links

This Is A Good Article. Follow The Link For More Information.COBOL (disambiguation)Programming ParadigmProcedural ProgrammingImperative ProgrammingObject-oriented ProgrammingSoftware DesignJean E. SammetSoftware DeveloperCODASYLANSIISOSoftware Release Life CycleType SystemWeak TypingStatic TypingFilename ExtensionProgramming Language ImplementationGnuCOBOLIBM COBOLMicro FocusDialect (computing)AIMACOC++COMTRANEiffel (programming Language)FACT Computer LanguageFLOW-MATICSmalltalkPL/IProgramming Language For BusinessWikipedia:Citation NeededWikibooks:COBOLHelp:IPA/EnglishAcronymCompiledComputer Programming LanguageImperative ProgrammingProcedural ProgrammingObject-oriented ProgrammingMainframe ComputerBatch ProcessingTransaction ProcessingCODASYLGrace HopperUS Department Of DefenseSoftware PortabilityStandardizedStructured ProgrammingObject-oriented ProgrammingISOInternational Electrotechnical CommissionReserved WordStandard LibraryStructured ProgrammingTimeline Of Programming LanguagesEnlargeGrace HopperFLOW-MATICMary K. HawesUniversity Of PennsylvaniaGrace HopperFLOW-MATICJean SammetSaul GornUnited States Department Of DefenseALGOL 58FORTRANSteering CommitteeBetty HolbertonCODASYLBurroughs CorporationIBMHoneywellRCASperry RandSylvania Electric ProductsUS Air ForceDavid Taylor Model BasinNational Bureau Of StandardsFLOW-MATICAIMACOCOMTRANBob BemerGO TODesign By CommitteeBoolean ExpressionFormulaPL/IInteractivityOperating SystemFACT (computer Language)Roy NuttJean E. SammetEnlargeBendix CorporationControl Data CorporationGeneral ElectricNational Cash RegisterPhilcoInternational Computers And TabulatorsUnivacCharles KatzALGOLMass StorageTable (information)ANSILibrary (computing)Ecma InternationalCOBOLMemory SegmentationForward CompatibilityData Processing Management AssociationDEC VAXControl FlowDebuggingWikipedia:Manual Of Style/Dates And NumbersPlaceholder (Computer Syntax)Switch StatementGartner GroupWikipedia:NOTRSC++SmalltalkMicro Focus InternationalFujitsuIBM.NET FrameworkUser-defined FunctionRecursionLocale (computer Software)UnicodeFloating-pointBinary NumberBase-10BitBoolean Data TypePointer (computer Programming)Text-based User InterfaceApplication FrameworkJava (platform)ErratumFinalizerXMLCollection ClassNISTIEEE 754Z/OSZ/VSEICL VMEUnixOpenVMSMicrosoft WindowsGartner GroupYear 2000 ProblemWikipedia:Manual Of Style/Words To WatchComputerworldC++Visual Basic .NETKeyword (computer Programming)Lexical ItemsComputer FilesCharacter SetsVariable (computer Science)Parameter (computer Programming)Statement (computer Science)MetalanguageBackus–Naur FormClass (computer Programming)Interface (object-oriented Programming)Method (computer Programming)Polymorphism (computer Science)Generic ProgrammingMember VisibilityProperty (programming)Method OverloadingSequential AccessLinked ListRandom AccessUnique KeyC-ISAMVSAMISAMNewlineStatic VariableAutomatic VariableText-based User InterfaceUTF-8SignednessUndefined BehaviorPacked Binary-coded DecimalDeclarative ProgrammingLabel (programming)SubroutinesEnlargeUndefined BehaviorConditional (computer Programming)Switch StatementDecision TableCNC LatheCall By ReferenceCall By ValueFunction PrototypeReturn StatementBreak StatementContinue StatementException HandlingLock (database)Assignment (computer Science)Dynamic MemoryConcatenationString (computer Science)SubstringDangling Else ProblemSelf-modifying CodeDeprecationHello, World"Hello, World!" ProgramThe C Programming Language (book)Job Control LanguageHercules EmulatorMVSStructured ProgrammingEdsger DijkstraLetter To The EditorCommunications Of The ACMModular ProgrammingParameter (computer Programming)Single-entry Single-exitChief Information OfficerSt. Paul TravelersThe Jargon FileSelf-documentingMetalanguageBackus–Naur FormLibrary Of CongressMicro FocusInformation SystemsC++Java (Programming Language)FORTRANAssembler LanguageWikipedia:Citation NeededPascal (programming Language)Database Management SystemsInclude DirectivePortal:Computer ProgrammingList Of CompilersGenerational List Of Programming LanguagesAlphabetical List Of Programming LanguagesComparison Of Programming LanguagesCODASYLComputer History MuseumCambridge University PressInternational Standard Book NumberSpecial:BookSources/978-0132611404Digital Object IdentifierInternational Standard Serial NumberDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0769508650George RadinAcademic PressDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0127450408International Standard Serial NumberInternational Standard Serial NumberBasic BooksInternational Standard Book NumberSpecial:BookSources/978-0786730766MIT PressInternational Standard Book NumberSpecial:BookSources/978-0262050937Library Of Congress Control NumberDigital Object IdentifierInternational Standard Serial NumberDigital Object IdentifierJean SammetDigital Object IdentifierComputer History MuseumThe Computer Museum, BostonInternational Standard Book NumberSpecial:BookSources/978-1612512655OCLCJean E. SammetInternational Standard Book NumberSpecial:BookSources/0470864125International Standard Book NumberSpecial:BookSources/0719005922Department Of The NavyInternational Standard Serial NumberCategory:CS1 Maint: Multiple Names: Authors ListInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Serial NumberInternational Standard Book NumberSpecial:BookSources/978-0074603185International Standard Serial NumberMicro FocusSamsInternational Standard Book NumberSpecial:BookSources/978-0672314537Library Of Congress Control NumberDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/1581131372Digital Object IdentifierDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/1430262532Chris VerhoefDigital Object IdentifierBritish Computer SocietyDigital Object IdentifierEric S. RaymondInternational Standard Serial NumberDigital Object IdentifierDigital Object IdentifierLibrary Of Congress Control NumberDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0127450408IBMIBMBob BemerHoneywellInternational Standard Book NumberSpecial:BookSources/978-0262013109Library Of Congress Control NumberCRC PressInternational Standard Book NumberSpecial:BookSources/978-0824722555Association Of Information Technology ProfessionalsInternational Standard Serial NumberCODASYLNational Bureau Of StandardsInternational Standard Serial NumberLibrary Of Congress Control NumberInternational Data GroupInternational Standard Serial NumberJohn Wiley & SonsInternational Standard Book NumberSpecial:BookSources/0471804614ISO/IEC JTC 1/SC 22ISOINCITSDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0127450408Daniel D. McCrackenInternational Standard Book NumberSpecial:BookSources/0471610542Library Of Congress Control NumberAssociation For Computing MachineryDigital Object IdentifierJean E. SammetAssociation For Computing MachineryDigital Object IdentifierDigital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0127450408Digital Object IdentifierInternational Standard Book NumberSpecial:BookSources/0127450408International Standard Book NumberSpecial:BookSources/978-0470090954OCLCAnnals Of The History Of ComputingIEEEDigital Object IdentifierWikipedia:Wikimedia Sister ProjectsDMOZTemplate:Programming LanguagesTemplate Talk:Programming LanguagesProgramming LanguageComparison Of Programming LanguagesTimeline Of Programming LanguagesHistory Of Programming LanguagesAssembly LanguageBASICC (programming Language)C++C Sharp (programming Language)FortranАналитикGo (programming Language)Groovy (programming Language)Haskell (programming Language)Java (programming Language)JavaScriptKotlin (programming Language)Lisp (programming Language)Lua (programming Language)Objective-CPascal (programming Language)PerlPHPPython (programming Language)RexxRuby (programming Language)Shell ScriptSmalltalkSwift (programming Language)Visual Basic .NETVBScriptList Of Programming LanguagesCategory:Programming LanguagesList Of Programming LanguagesList Of Programming Languages By TypeGenerational List Of Programming LanguagesNon-English-based Programming LanguagesTemplate:ISO StandardsTemplate Talk:ISO StandardsInternational Organization For StandardizationList Of International Organization For Standardization StandardsList Of ISO RomanizationsList Of IEC StandardsISO 1ISO 2Preferred NumberISO 4ISO 5ISO 6ISO 7ISO 9A440 (pitch Standard)ISO 31ISO 31-0ISO 31-1ISO 31-2ISO 31-3ISO 31-4ISO 31-5ISO 31-6ISO 31-7ISO 31-8ISO 31-9ISO 31-10ISO 31-11ISO 31-12ISO 31-13ISO 128ISO 216ISO 217ISO 226British Standard Pipe ThreadISO 233ISO 259EnvelopeKappa NumberVicat Softening PointISO 428ISO 518ISO 519ISO 639ISO 639-1ISO 639-2ISO 639-3ISO 639-5ISO 639-6ISO/IEC 646ISO 690ISO 732Antimagnetic WatchISO 843ISO 898ISO 965ISO 1000Magnetic Ink Character Recognition135 FilmOCR-A FontISO 1413ALGOL 60ISO 1745ISO 1989ISO 2014ISO 2015ISO/IEC 2022ISO 2047International Standard Book NumberISO 2145ISO 2146ISO 2240Water Resistant MarkISO 2709ISO 2711ISO 2788ISO 2848ISO 2852126 FilmISO 3103ISO 3166ISO 3166-1ISO 3166-2ISO 3166-3International Standard Serial NumberISO 3307Kunrei-shiki RomanizationISO 3864International Standard Recording CodeISO 3977ISO 4031ISO 4157ISO 4217ISO/IEC 4909ISO/IEC 5218ISO 5428ISO 5775ISO 5776ISO 5800ISO 5964ISO 6166ISO 6344ISO 6346ISO 6385Water Resistant MarkANSI Escape CodeISO 6438ISO 6523ISO 6709ISO 7001ISO 7002PinyinPascal (programming Language)ISO 7200OSI ModelISO 7736ISO/IEC 7810ISO/IEC 7811ISO/IEC 7812ISO/IEC 7813ISO/IEC 7816ISO 8000ISO 8178Fuel OilFTAMISO 8583ISO 8601Computer Graphics MetafileISO/IEC 8652ISO 8691Language Of Temporal Ordering SpecificationISO/IEC 8820-5ISO/IEC 8859ISO/IEC 8859-1ISO/IEC 8859-2ISO/IEC 8859-3ISO/IEC 8859-4ISO/IEC 8859-5ISO/IEC 8859-6ISO/IEC 8859-7ISO/IEC 8859-8ISO-8859-8-IISO/IEC 8859-9ISO/IEC 8859-10ISO/IEC 8859-11ISO/IEC 8859-12ISO/IEC 8859-13ISO/IEC 8859-14ISO/IEC 8859-15ISO/IEC 8859-16Standard Generalized Markup LanguageISO 9000SQLISO/IEC 9126File Allocation TableISO 9241ISO 9362Shoe SizeManufacturing Message SpecificationISO 9529ISO 9564X.500ISO 9660ISO 9897C (programming Language)POSIXISO 9984ISO 9985ISO/IEC 9995ISO 10005ISO 10006ISO 10007ISO/IEC 10116Whirlpool (cryptography)ISO 10160ISO 10161Guidelines For The Definition Of Managed ObjectsDocument Style Semantics And Specification LanguageISO 10206ISO 10218ISO 10303EXPRESS (data Modeling Language)ISO 10303-21ISO 10303-22ISO 10303-28STEP-NCISO 10383ISO 10487ArmSCIIIS-ISUniversal Coded Character SetTorxRM-ODPMultibusInternational Standard Music NumberISO 10962ISO/IEC 10967ISO/IEEE 11073ISO 11170ISO/IEC 11179ISO/IEC 11404JBIGISO 11783ISO 11784 & 11785ISO 11784 & 11785ISO/IEC 11801ISO 11898ISO 11940ISO 11940-2ISO/TR 11941ISO/TR 11941ISO 11992ISO 12006ISO/IEC TR 12182ISO/IEC 12207Tag Image File Format / Electronic PhotographyPrologPrologPrologIsofixTopic MapsISO 13399ISO 13406-2110 FilmISO 13485ISO 13490ISO 13567Z NotationISO 13584International Bank Account NumberISO 14000ISO 14031ISO 14224PDF/UAHorsepowerISO/IEC 14443MPEG-4MPEG-4 Part 2MPEG-4 Part 3Delivery Multimedia Integration FrameworkH.264/MPEG-4 AVCMPEG-4 Part 11MPEG-4 Part 12MPEG-4 Part 14MPEG-4 Part 14MPEG-4 Part 14ISO 14644STEP-NCISO 14651ISO 14698ISO 14750Software MaintenanceC++ISO 14971ISO 15022ISO 15189ISO/IEC 15288Ada Semantic Interface SpecificationISO 15292ISO 15398Common CriteriaJPEG 2000Motion JPEG 2000HTMLPDF417ISO/IEC 15504International Standard Identifier For Libraries And Related OrganizationsISO 15686ISO/IEC 15693International Standard Audiovisual NumberISO 15706-2International Standard Musical Work CodeISO 15897ISO 15919ISO 15924ISO 15926ISO 15926 WIPPDF/XMaxiCodeECMAScriptPDF/VTISO 16750ISO/TS 16949ISO/IEC 17024ISO/IEC 17025ISO 17100:2015Open Virtualization FormatSDMXLegal Entity IdentifierISO/IEC 27002ISO/IEC 18000QR CodeISO/IEC 18014ISO 18245Process Specification LanguagePhotographic Activity TestPDF/AISO 19011ISO 19092-1ISO 19092-2ISO 19114ISO 19115Simple Feature AccessISO 19136ISO 19439Common Object Request Broker ArchitectureUnified Modeling LanguageMeta-Object FacilityXML Metadata InterchangeUnified Modeling LanguageKnowledge Discovery MetamodelObject Constraint LanguageMeta-Object FacilityXML Metadata InterchangeBusiness Process Model And NotationISO 19600:2014ISO/IEC 19752RELAX NGISO/IEC 19770X3DISO/IEC 19794-5Cloud Infrastructure Management InterfaceISO/IEC 20000ISO 20022ISO 20121ISO 20400MPEG-21International Standard Text CodeISO 21500ISO/IEC 21827ISO 22000C Sharp (programming Language)Common Language InfrastructureLinux Standard BasePDF/ELexical Markup FrameworkISO-TimeMLCommon LogicISO 25178ISO 25964ISO 26000OpenDocumentDigital Object IdentifierISO/IEC 27000-seriesISO/IEC 27000ISO/IEC 27001ISO/IEC 27002ISO/IEC 27006International Standard Name IdentifierISO 28000ISO 29110Requirements EngineeringJPEG XROffice Open XMLRuby (programming Language)ISO 31000Portable Document FormatISO/IEC 38500Web Content Accessibility GuidelinesISO/IEC 42010ISO 55000ISO/IEC 80000ISO 80000-1ISO 80000-2ISO 80000-3Category:ISO StandardsHelp:Authority ControlLibrary Of Congress Control NumberIntegrated Authority FileBibliothèque Nationale De FranceHelp:CategoryCategory:COBOLCategory:.NET Programming LanguagesCategory:1959 SoftwareCategory:Class-based Programming LanguagesCategory:Computer-related Introductions In 1959Category:Cross-platform SoftwareCategory:Object-oriented Programming LanguagesCategory:Procedural Programming LanguagesCategory:Programming Languages Created By WomenCategory:Programming Languages Created In 1959Category:Programming Languages With An ISO StandardCategory:Statically Typed Programming LanguagesCategory:Pages Containing Links To Subscription-only ContentCategory:CS1 Maint: Multiple Names: Authors ListCategory:Good ArticlesCategory:Use American English From October 2014Category:All Wikipedia Articles Written In American EnglishCategory:All Articles With Unsourced StatementsCategory:Articles With Unsourced Statements From October 2017Category:Articles With Unsourced Statements From March 2014Category:All Articles Lacking Reliable ReferencesCategory:Articles Lacking Reliable References From January 2015Category:Articles With Specifically Marked Weasel-worded Phrases From March 2014Category:Articles With Unsourced Statements From March 2017Category:Articles With DMOZ LinksCategory:Wikipedia Articles With LCCN IdentifiersCategory:Wikipedia Articles With GND IdentifiersCategory:Wikipedia Articles With BNF IdentifiersDiscussion About Edits From This IP Address [n]A List Of Edits Made From This IP Address [y]View The Content Page [c]Discussion About The Content Page [t]Edit This Page [e]Visit The Main Page [z]Guides To Browsing WikipediaFeatured Content – The Best Of WikipediaFind Background Information On Current EventsLoad A Random Article [x]Guidance On How To Use And Edit WikipediaFind Out About WikipediaAbout The Project, What You Can Do, Where To Find ThingsA List Of Recent Changes In The Wiki [r]List Of All English Wikipedia Pages Containing Links To This Page [j]Recent Changes In Pages Linked From This Page [k]Upload Files [u]A List Of All Special Pages [q]Wikipedia:AboutWikipedia:General Disclaimer



view link view link view link view link view link