# Updating COBOL without the barriers
Author:  Pal Sinha, Barnali 
Author URL: https://financedigest.com/author/pal-sinha-barnali
Published: 2019-08-10
Category: TECHNOLOGY
Category URL: https://financedigest.com/category/technology
Meta Title: Addressing COBOL Legacy Challenges with New AI Tools
Meta Description: Discover how new AI tools are helping financial institutions tackle the obstacles associated with legacy COBOL code and modernise their systems effectively.
URL: https://financedigest.com/updating-cobol-without-the-barriershtml

![undefined](https://prod.superblogcdn.com/site_cuid_cm5qst7v3003gwirgwqtxn8i8/images/cobol-1736839002987-compressed.jpg)

**New AI tools can automate the challenges faced by financial institutions**

By **Professor Daniel Kroening,** Co-founder of [**Diffblue**](http://www.diffblue.com/)

The financial services industry is becoming increasingly competitive, COBOL (formally, the Common Business-Oriented Language) underpins the business-critical applications in most large banks and financial institutions. COBOL has something in common with Latin: it’s omnipresent even though few remain who are fluent in it. Its ubiquity seems benign until something [needs to be modified and nobody knows](https://www.financedigest.com/pstn-isdn-switch-off-what-businesses-need-to-know.html "PSTN/ISDN switch-off: what businesses need to know ") how to do so without introducing new problems—and then the benefits of modernising suddenly become clear.

But if upgrading legacy code were easy, everyone would have done it already. Instead, the IT departments at large, historic institutions face a few familiar bumps in the road when trying to replace COBOL code with modern systems, which new [digital transformation](https://www.financedigest.com/how-to-create-value-in-digital-transformations.html "How to create value in digital transformations") tools are working to address, in some cases with help from AI.

**1: Millions of lines of code**

Most banks are running on applications composed of [millions of lines of code](https://www.dw.com/en/fail-by-design-bankings-legacy-of-dark-code/a-43645522-0), only a fraction of which is accessible, documented, and covered by tests. And for the institutions that flourished in the 70s and 80s, a lot of this code will be legacy (COBOL and other languages)—the [price they continue](https://www.financedigest.com/bitcoin-price-rises-past-50000-as-rebound-continues.html "Bitcoin price rises past ,000 as rebound continues") to pay for their early success.

Tracing the source of bugs in legacy code can be compared to embarking on an expedition: it can take hours or days to sift through primarily unmapped territory in search of a cause. This partially explains why developers have to spend about [half of their time debugging](http://bretthard.in/post/developers-spend-half-their-time-fixing-bugs), rather than working on developing new features for the business.

**2:COBOL [Skills gap](https://www.financedigest.com/tackling-the-cloud-skills-gap-in-financial-services.html "Tackling the cloud skills gap in financial services")**

One of the main barriers to modernising COBOL is the inability to edit or maintain it when so few developers can understand it. The majority of engineers who spent their careers working with COBOL have since retired, and there is no indication that more new developers will be jumping in to take their places.

As a result, the [banking industry](https://www.financedigest.com/enabling-decision-making-success-in-the-banking-industry-3-considerations.html "Enabling decision-making success in the banking industry – 3 considerations") is quickly running out of junior engineers with mainframe experience who can carry these applications forward. In a few extreme cases, experts in their 50s and 60s have even been [called out of retirement](https://uk.reuters.com/article/uk-usa-banks-cobol/banks-scramble-to-fix-old-systems-as-it-cowboys-ride-into-sunset-idUKKBN17C0DZ) to maintain applications in the companies they used to work for, which is expensive and unsustainable.

**3:Cost to rewrite**

The slow-moving disaster of having [whole teams](https://www.financedigest.com/are-your-it-team-telling-you-the-whole-truth.html "Are your IT team telling you the whole truth?") retire without replacements makes rewriting core applications in other languages look appealing, until the time and cost requirements are estimated. The Commonwealth Bank of Australia spent five years and hundreds of millions of dollars replacing their outdated IT systems, and they’re an outlier—most wouldn’t have the resources or high level buy-in to dedicate to such a momentous effort.

The other option is translating COBOL into modern languages, such as Java, Javascript or C#. This has recently become possible using any of several tools depending on the language you want to translate into. The caveat is that if there were any tests in the original code—which is unlikely; COBOL was introduced before testing became a best practice—they’ll be lost in the process.

**4: Lack of testing**

[Working without tests](https://www.financedigest.com/biden-says-he-is-doing-well-working-after-testing-positive-for-covid.html "Biden says he is ‘doing well,’ working after testing positive for COVID") is inefficient, uncertain, and unacceptable to most financial institutions. When legacy code doesn’t have tests, every new line of code written (including attempted [bug fixes](https://www.financedigest.com/instagram-fixes-bug-that-triggered-hours-long-outage.html "Instagram fixes bug that triggered hours-long outage")) has the potential to introduce new bugs, and bugs in critical code can cause untold damage.

Manually writing unit tests is slow and tedious, both for COBOL and translated code. One way for IT departments to speed up software [application development](https://www.financedigest.com/turbo-compounding-systems-market-development-status-competition-analysis-type-and-application-2026.html "Turbo Compounding Systems Market Development Status, Competition Analysis, Type and Application 2026") is by automating the writing of Java unit tests with AI for code, a new category of technology that uses an AI engine to immediately increase code coverage for all areas of the code base, including those that are sparsely tested. This process can generate tests for an entire application overnight, making it easy for developers to work with the newly translated Java systems.

[**Solutions for Quality and Efficiency**](https://www.financedigest.com/scanwriter-v-verafin-which-solution-can-help-you-unravel-financial-scams-efficiently.html "ScanWriter v. Verafin: Which Solution Can Help You Unravel Financial Scams Efficiently?")

[Businesses have been implementing these modernisation tools to overcome](https://www.financedigest.com/how-to-overcome-the-challenges-faced-by-women-in-business-4.html "How to overcome the challenges faced by women in business") the roadblocks that have kept their core applications from being agile. For most global banks, Java code by itself would be useless, because they [need the reliability](https://www.financedigest.com/why-your-it-needs-a-reliable-sql.html "Why your IT needs a reliable SQL ") and certainty provided by a test suite; the ideal COBOL translation process would also create accompanying tests, ultimately improving the efficiency of software development.

The tools for clearing these hurdles have finally made it possible to upgrade, and the time has come for financial institutions to embrace a future of active participation in [tech innovations](https://www.financedigest.com/financial-services-tech-tools-to-foster-innovation.html "Financial Services: tech tools to foster innovation").


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

