Software

IBM says GenAI can convert that old COBOL code to Java for you

Folks in the Z mainframe game can have a play soon... if they dare


IBM is giving its mainframe customers a tool infused with generative AI to translate COBOL code to Java as part of application modernization efforts.

The watsonx Code Assistant for Z is set to be available sometime in Q4 2023. Big Blue says it can speed translation of COBOL to Java on its Z mainframes.

As Reg readers will know, COBOL supports many vital processes within organizations globally – some that would surprise newbie devs. The language was designed specifically to be portable and easier for coding business applications. The good news is that it works. The bad news is it's been working for a little long. COBOL has been around for over 60 years, and many of the developers who wrote those applications have since retired or are no longer with us.

Is the IT industry short on Cobolers? This could be your lucky day

READ MORE

"If you can find a COBOL programmer, they are expensive. I have seen figures showing they can command some of the highest salaries because so many mission critical apps are written in COBOL and they need maintenance," Omdia Chief Analyst Roy Illsley told us.

Migrating the code to Java means there are many more programmers around, he added, and if the apps run on Linux on Z then they can potentially be moved off the mainframe more easily in future. (Although that is not always as easy as it might seem.)

According to IBM, there are billions of lines of COBOL code out there as potential candidates for modernization (a report last year estimated the total figure at 775-850 billion lines). For this reason, the generative AI features in watsonx Code Assistant for Z are intended to help developers to assess and determine the code most in need of modernization, allowing them to more speedily update large applications and focus on critical tasks.

IBM wants to provide tooling for each step of the modernization process, starting with its Application Discovery and Delivery Intelligence (ADDI) inventory and analysis tool. Other steps include refactoring business services in COBOL, transforming the code to Java code, and then validating the resulting outcome with the aid of automated testing.

Illsley was aware of companies that offer similar products, but which use a combination of static and dynamic analysis of the COBOL code instead of AI, and split up the code into microservices, still based on COBOL.

The resulting Java code emitted by watsonx Code Assistant for Z will be object-oriented, but will still interoperate with the rest of the COBOL application IBM claimed, as well as with key services such as CICS, IMS, DB2, and other z/OS runtimes.

"IBM is engineering watsonx Code Assistant for Z to take a targeted and optimized approach. It's built to rapidly and accurately convert code optimized for IBM Z, accelerate time to market and broaden the skills pool," SVP for Product Management and Growth Kareem Yusuf said in a prepared remark.

IBM is not the only IT outfit turning to AI tools to help developers code or maintain applications, however, the quality of AI-assisted output has been questioned. A Stanford University study found that programmers who accepted help from AI tools like Github Copilot produce less secure code than those who did not.

Watsonx Code Assistant for Z will be joined later by another AI-based developer tool from IBM, watsonx Code Assistant for Red Hat Ansible Lightspeed.

Both are powered by the watsonx.ai code model, which Big Blue claimed has been trained on 115 coding languages. The watsonx Code Assistant product portfolio will be extended to other programming languages in future, the company said. ®

Send us news
69 Comments

India courts IBM, Intel, and Tower for chip partnerships - all in one day

Big Blue in early talks to advance local RISC-V designs

Fresh curl tomorrow will patch 'worst' security flaw in ages

It’s bad, folks. Pair of CVEs incoming on October 11

Microsoft drops official support for Python 3.7 in Visual Studio Code

Should still work for the foreseeable future, but rely on it at your own risk

Former IBM services outfit Kyndryl said to be mulling China split

There's no denying geopolitics is making it hard for multinationals in Beijing

Now IBM sued for age discrim by its own HR veterans

Staff with short 'runways' told to take off amid shift to corporate chatbots, it's claimed

IBM's Weather Company leaked my personal info to analytics, thunders netizen

Video watching habits and other data just handed over, lawsuit claims

Here's why cloud credentials are the hottest item on criminal marketplaces

And they cost less than a box of donuts

IBM Software tells workers: Get back to the office three days a week

Managers warn company goals can't be achieved unless coders get more face time and less FaceTime

IBM Cloud to 'uplift' prices by up to 29 percent

All PaaS, including OpenShift, gets a three-point bump. IaaS users outside the US get the nastiest numbers

ArcaOS 5.1 gives vintage OS/2 a UEFI facelift for the 21st century

When your '90s nostalgia craves a modern touch

IBM shows off its sense of humor in not-so-funny letter leak

Internal memos detail discontinued Dad-joke products

IBM sells off cloud business – yes, we mean Weather.com

What better time for private equity to capitalize on changing climate