IBM Introduces AI-Powered Code Assistant to Modernize Legacy COBOL

Date:

IBM Introduces AI-Powered Code Assistant to Modernize Legacy COBOL

IBM is utilizing the power of artificial intelligence (AI) to breathe new life into legacy COBOL code. With hundreds of billions of lines of COBOL code still running on production systems globally, there is a pressing need to modernize this language, which is over 60 years old and primarily developed by retired or deceased architects.

While IBM previously attempted to have humans rewrite the code in Java, the company is now turning to AI to assist in the process. The newly unveiled IBM Watsonx Code Assistant aims to keep humans involved by employing generative AI to analyze, refactor, and test the new object-oriented code. IBM assures that code generated by Watsonx will be interoperable with COBOL and certain Z mainframe functions.

Recognizing that the challenges of COBOL lie not only in the code itself but also in the business logic, edge cases, and institutional memory, IBM’s CTO for zSystems software, Kyle Charlet, highlights the difficulty many organizations face in modernizing their COBOL code. Despite investing years and millions of dollars, only a fraction of the code has been successfully updated. The process of rewriting COBOL is labor-intensive and time-consuming, with varying results from different approaches.

IBM believes that its Watsonx AI can help large organizations decouple individual services from monolithic COBOL applications. The company envisions a three-step process: refactoring, where individual services are surgically separated from larger code; transformation, either into mainframe-friendly Java code or COBOL that can directly interact with Java; and validation, with AI assisting in creating test cases while developers maintain control.

See also  PowerSchool Collaborates with Microsoft Azure OpenAI to Provide Personalized Learning in K-12 Education at Scale

The integration of AI into the COBOL modernization process presents an opportunity to address the challenges of updating and extending COBOL codebases, which can be stable and secure but costly to maintain. Outdated COBOL was cited as a contributing factor in the Office of Personnel Management’s data breach in 2015 when the code couldn’t be encrypted or integrated with secure systems.

However, it is worth considering that COBOL excels at managing business-specific systems and interactions that potentially present fewer attack vectors. Critics argue that while AI-generated and restructured code may appear correct and ready for testing, the absence of experienced programmers familiar with the intricacies of the code could result in unintended consequences and errors.

IBM’s watsonx Code Assistant for Z will first be deployed for Red Hat Ansible Light speed. Given that watsonx.ai was trained on more than 100 coding languages, it is likely that more AI co-pilots for old mainframe code will follow suit.

With its AI-powered Code Assistant, IBM aims to reshape legacy COBOL code, making it more modular and compatible with contemporary systems. By combining the strengths of generative AI and human expertise, the goal is to streamline the modernization process and ensure the longevity of COBOL applications.

Frequently Asked Questions (FAQs) Related to the Above News

What is IBM's new AI-powered Code Assistant?

IBM's new AI-powered Code Assistant is a tool designed to modernize legacy COBOL systems by combining generative AI with human expertise.

What is the purpose of the Code Assistant?

The Code Assistant aims to analyze, refactor, and test new object-oriented code to update and rewrite aging COBOL code.

When will the Code Assistant be released?

The Code Assistant is set to be released in Q4 of this year.

How does the Code Assistant approach COBOL modernization?

The Code Assistant separates individual services from monolithic COBOL applications through a three-step process involving refactoring, transformation into mainframe-friendly Java code or COBOL, and validation with AI assistance in creating test cases.

How does the Code Assistant ensure interoperability with COBOL and Z mainframe systems?

The watsonx-generated code aims to be interoperable with COBOL and specific Z mainframe functions.

What are the challenges of modernizing COBOL?

The challenges include complex business logic, edge-cases, and the difficulty of retaining institutional memory.

Why have previous attempts at COBOL modernization fallen short?

Previous attempts at COBOL modernization have required a large number of developers and painstaking manual work, resulting in limited success.

How can AI assistance benefit the modernization of COBOL systems?

AI assistance can facilitate the process by helping update and extend COBOL code while maintaining functionality, potentially reducing costs and vulnerabilities.

What concerns surround AI-generated code and restructuring?

It is cautioned that without expert human insights, AI-generated code may contain flaws similar to AI-generated video.

What coding languages has the Code Assistant been trained in?

The Code Assistant has been trained in over 100 coding languages.

What deployment plans does IBM have for the Code Assistant?

IBM plans to deploy the Code Assistant initially with Red Hat Ansible Light speed, suggesting that more AI co-pilots for old mainframe code will likely follow.

What impact does IBM's Code Assistant have on the future of COBOL?

IBM's Code Assistant is poised to revolutionize the modernization of COBOL systems, breathing new life into an aging language that underpins critical business systems worldwide.

Please note that the FAQs provided on this page are based on the news article published. While we strive to provide accurate and up-to-date information, it is always recommended to consult relevant authorities or professionals before making any decisions or taking action based on the FAQs or the news article.

Share post:

Subscribe

Popular

More like this
Related

Samsung Unpacked Event Teases Exciting AI Features for Galaxy Z Fold 6 and More

Discover the latest AI features for Galaxy Z Fold 6 and more at Samsung's Unpacked event on July 10. Stay tuned for exciting updates!

Revolutionizing Ophthalmology: Quantum Computing’s Impact on Eye Health

Explore how quantum computing is changing ophthalmology with faster information processing and better treatment options.

Are You Missing Out on Nvidia? You May Already Be a Millionaire!

Don't miss out on Nvidia's AI stock potential - could turn $25,000 into $1 million! Dive into tech investments for huge returns!

Revolutionizing Business Growth Through AI & Machine Learning

Revolutionize your business growth with AI & Machine Learning. Learn six ways to use ML in your startup and drive success.