{"id":131,"date":"2019-11-07T14:56:43","date_gmt":"2019-11-07T14:56:43","guid":{"rendered":"http:\/\/www.derniercriweb.solutions\/bury-blog\/?p=131"},"modified":"2026-04-08T12:25:12","modified_gmt":"2026-04-08T11:25:12","slug":"cobol","status":"publish","type":"post","link":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/2019\/11\/07\/cobol\/","title":{"rendered":"Cobol"},"content":{"rendered":"\n<p class=\"has-drop-cap\"><strong>COBOL<\/strong>&nbsp;(&#8220;common business-oriented language&#8221;) is a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Compiled\">compiled<\/a>&nbsp;English-like&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_programming_language\">computer programming language<\/a>&nbsp;designed for business use. It is&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Imperative_programming\">imperative<\/a>,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Procedural_programming\">procedural<\/a>&nbsp;and, since 2002,&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming\">object-oriented<\/a>. COBOL is primarily used in business, finance, and administrative systems for companies and governments. COBOL is still widely used in legacy applications deployed on&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Mainframe_computer\">mainframe computers<\/a>, such as large-scale&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Batch_processing\">batch<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Transaction_processing\">transaction processing<\/a>&nbsp;jobs. But due to its declining popularity and the retirement of experienced COBOL programmers, programs are being migrated to new platforms, rewritten in modern languages or replaced with software packages.&nbsp;Most programming in COBOL is now purely to maintain existing applications.<\/p>\n\n\n\n<p>COBOL was designed in 1959 by&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/CODASYL\">CODASYL<\/a>&nbsp;and was partly based on previous programming language design work by&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Grace_Hopper\">Grace Hopper<\/a>, commonly referred to as &#8220;the (grand)mother of COBOL&#8221;.&nbsp;It was created as part of a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/US_Department_of_Defense\">US Department of Defense<\/a>&nbsp;effort to create a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Software_portability\">portable<\/a>&nbsp;programming language for data processing. It was originally seen as a stopgap, but the Department of Defense promptly forced computer manufacturers to provide it, resulting in its widespread adoption.&nbsp;It was&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Standardized\">standardized<\/a>&nbsp;in 1968 and has since been revised four times. Expansions include support for&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Structured_programming\">structured<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming\">object-oriented programming<\/a>. The current standard is&nbsp;<em><a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO\">ISO<\/a>\/<a href=\"https:\/\/en.wikipedia.org\/wiki\/International_Electrotechnical_Commission\">IEC<\/a>&nbsp;1989:2014<\/em>.<\/p>\n\n\n\n<p>COBOL statements have an English-like syntax, which was designed to be self-documenting and highly readable. However, it is verbose and uses over 300&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Reserved_word\">reserved words<\/a>. In contrast with modern, succinct syntax like&nbsp;<code>y&nbsp;=&nbsp;x;<\/code>, COBOL has a more English-like syntax (in this case,&nbsp;<code><strong>MOVE<\/strong>&nbsp;x&nbsp;TO&nbsp;y<\/code>). COBOL code is split into four&nbsp;<em>divisions<\/em>&nbsp;(identification, environment, data and procedure) containing a rigid hierarchy of sections, paragraphs and sentences. Lacking a large&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Standard_library\">standard library<\/a>, the standard specifies 43 statements, 87 functions and just one class.<\/p>\n\n\n\n<p>Academic computer scientists were generally uninterested in business applications when COBOL was created and were not involved in its design; it was (effectively) designed from the ground up as a computer language for business, with an emphasis on inputs and outputs, whose only data types were numbers and strings of text.&nbsp;COBOL has been criticized throughout its life, for its verbosity, design process, and poor support for&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Structured_programming\">structured programming<\/a>. These weaknesses result in monolithic and, though intended to be English-like, not easily comprehensible and verbose programs.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-white-background-color has-background\"><a href=\"https:\/\/www.derniercriweb.co.uk\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.derniercriweb.co.uk<\/a><br><a href=\"https:\/\/derniercri.biz\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/derniercri.biz<\/a><br><a href=\"https:\/\/www.abportfolio.co.uk \">https:\/\/www.abportfolio.co.uk <\/a><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>COBOL&nbsp;(&#8220;common business-oriented language&#8221;) is a&nbsp;compiled&nbsp;English-like&nbsp;computer programming language&nbsp;designed for business use. It is&nbsp;imperative,&nbsp;procedural&nbsp;and, since 2002,&nbsp;object-oriented. COBOL is primarily used in business, finance, and administrative systems for companies and governments. COBOL is still widely used in legacy applications deployed on&nbsp;mainframe computers, such as large-scale&nbsp;batch&nbsp;and&nbsp;transaction processing&nbsp;jobs. But due to its declining popularity and the retirement of experienced COBOL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[21,23,20,19],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-computing","tag-bury","tag-greater-manchester","tag-web-design","tag-web-development"],"_links":{"self":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":0,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.derniercriweb.co.uk\/bury-blog\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}