Cobol remains old standby at agencies despite showing its age

As mainframe programming language Cobol marks 50 years of service, dedicated government users make plans for keeping the reliable old applications humming along.

In the beginning, or not too long after, there was Cobol. And it was good.

Cobol's golden anniversary

1952 – “Amazing" Grace Hopper begins development of natural language programming languages that would lead to Flowmatic, the precursor of Cobol.

1959 – First Cobol specifications completed in December 1959 and published in April 1960.

1968 – The American National Standards Institute develops the first industry standard for Cobol.

1997 – The Gartner Group says about 80 percent of global business applications run on Cobol, amounting to more than 200 billion lines of code, with 5 billion new lines of code created each year.

2000 – The Year 2000 hits, having required extensive rewriting of existing Cobol code to cater for compressed date code that would report Jan. 1, 2000, and beyond as earlier than 1999 dates.

2002 – The fourth and most current version of standard Cobol has object orientation added and includes support for other Web-based programming environments such as Microsoft .NET and Java.

Programs written in the venerable Common Business-Oriented Language were once used around the world in governmental and military agencies, in commercial enterprises, and on operating systems such as IBM's z/OS, Microsoft's Windows, and the POSIX families — Unix, Linux etc. As recently as 1997, the Gartner Group reported, 80 percent of the world's business ran on Cobol with more than 200 billion lines of code in existence and an estimated 5 billion lines of new code annually.

Fifty years after its creation, however, old Cobol is showing its age spots. Like the baby boomers who used it to create a wealth of mainframe applications years ago, Cobol is creaking and groaning its way into retirement. The Java and .NET generation is ready to take over.

At least, that’s what the new Web-is-everything scenario calls for. The problem is that scripted futures and reality rarely cooperate. With the number of blown information technology modernization programs mounting and agency budgets tightening, Cobol may have some life left in yet.

Federal fans of Cobol

Most government agencies will have some Cobol code they need to deal with, but some are more dependent on it than others, including:

  • Social Security Administration
  • Agriculture Department
  • Veterans Affairs Department
  • Energy Department
  • U.S. Postal Service
  • Army
  • State Department

Source: Micro Focus International

That’s not to say that the newer, more Web-centric languages don’t dominate. Cobol simply can’t compete when it comes to displaying output in graphical form. Unless you want to keep using that old text-based green-creen system, Java and those other languages must rule, at least on the public-facing front end.

But in the core databases — the sources that those front-end applications take their data from — it’s another matter.

“The fact is that for back-end computations, nothing is better than Cobol,” said Bill Gray, deputy commissioner for systems at the Social Security Administration.

Also, because Cobol uses programming terminology that is close to the way people use regular English, it’s still considered the best language for capturing an organization’s business rules. Other languages use fairly arcane terminology that make it hard to capture those processes.

However, that puts organizations in a bind. Over time, Cobol has become the institutional memory of an organization, at least when it comes to business rules. People sit at their computers and use the applications that appear on their screens without ever questioning why they use those and not others.

In many cases, the reason is that the organization has decreed the use of Cobol, said John Hill, vice president at Computech, a professional services firm. And that poses a dilemma. Many agencies want to get off Cobol and build modern systems that will last the next 30 years, Hill said. But those Cobol systems handle such a huge part of the transactional load that they are not easy to replace when so much vital traffic passes through daily.

It can be done. Computech helped the Customs and Border Protection agency move from a 7 million-line Cobol system to one based on Java in a phased transition. The Defense Logistics Agency used concerns about the Year 2000 date changeover as the catalyst to move away from a Cobol system to an SAP enterprise resource platform, though it cost about $750 million.

But other agencies will not be making such an abrupt change. The Social Security Administration is wrapping essential Cobol applications in Extensible Markup Language envelopes and publishing them as service-oriented architecture services. It will retain about 20 percent of the 36 million lines of Cobol code it uses, Hill said.

The U.S. Postal Service considered rewriting its Cobol-based product tracking system in Java but, with 15 years of business logic embedded in that Cobol code, USPS officials eventually realized that it would be a massive job. They opted instead to use a Micro Focus compiler to repurpose the code so it could run on a mainframe Linux system.

“It would have been much more costly to convert to Java,” said John Byrne, manager of USPS’ Integrated Business Systems Solution Centers and the point person for the agency’s application development. “There are also unknown risks. We’ve done other things in Java, and they’ve not gone well.”

The Cobol/Linux path is allowing USPS to individually migrate each of its 56 product-tracking system event types, which ensures the system remains fully operational during the transition. The success of that has been good enough that the Postal Service wants to accelerate those kinds of transitions for its other 100 or so Cobol systems, Byrne said. The decision has already been made to move another three of its larger Cobol systems to Linux.

Help (Still) Wanted: Cobol skills

Agencies could face a shortage of experienced Cobol programmers during the next few years, as the people who have that longtime expertise retire. Most universities and colleges have dropped Cobol from their curriculum in favor of teaching more modern languages, such as Java.

But Cobol could be making a comeback at the university level, with an assist from industry. For example, Micro Focus, a software developer with customers around the world, has been working with schools in a number of countries to boost the level of graduates with Cobol skills.

In the U.S., those include Texas A&M University at Kingsville, New York City College of Technology, Kansas State University, University of Wisconsin at Platteville, Central Carolina Technical College, and Colorado Tech University.

There should be a large number of people with Cobol expertise graduating from those schools beginning this year, said Bob Morin, director of business development for the federal government sector at Micro Focus.

However, even if that new crop of programmers were not available, that’s not a reason to convert Cobol systems to Java, as some have argued, Byrne said. He said he thinks there will be enough Cobol programmers at USPS to last another 10 years, and as they begin to leave, the agency will start its own Cobol training program.

SSA is going the same route. The biggest challenge it faces is providing the kind of incentives for Cobol that programmers now have to build new and fancy things with the more modern languages, Gray said, though he’s found that many new hires are amenable to learning Cobol.

Morin said he believes the federal government is in the beginning stages of finally accepting something it’s known about for some years.

“Because of the number of failures of such things as [enterprise resource planning] and commercial off-the-shelf programs, they see that’s not the way to go for the most part,” he said. “At the same time, they realize what they have invested in Cobol, so now they are looking at how they can take advantage of that.”

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.