Zephyrnet Logo

Modernizing mainframe applications with a boost from generative AI – IBM Blog

Date:


Modernizing mainframe applications with a boost from generative AI – IBM Blog

<!—->


<!– –>


Young person with glasses sitting in desk chair in front of three computer screens, facing camera and smiling

Look behind the scenes of any slick mobile application or commercial interface, and deep beneath the integration and service layers of any major enterprise’s application architecture, you will likely find mainframes running the show.

Critical applications and systems of record are using these core systems as part of a hybrid infrastructure. Any interruption in their ongoing operation could be disastrous to the continued operational integrity of the business. So much so that many companies are afraid to make substantive changes to them.

But change is inevitable, as technical debt is piling up. To achieve business agility and keep up with competitive challenges and customer demand, companies must absolutely modernize these applications. Instead of putting off change, leaders should seek new ways to accelerate digital transformation in their hybrid strategy.

Don’t blame COBOL for modernization delays

The biggest obstacle to mainframe modernization is probably a talent crunch. Many of the mainframe and application experts who created and appended enterprise COBOL codebases over the years have likely either moved on or are retiring soon.

Scarier still, the next generation of talent will be hard to recruit, as newer computer science graduates who learned Java and newer languages won’t naturally picture themselves doing mainframe application development. For them, the work may not seem as sexy as mobile app design or as agile as cloud native development. In many ways, this is a rather unfair predisposition.

COBOL was created way before object orientation was even a thing—much less service orientation or cloud computing. With a lean set of commands, it shouldn’t be a  complicated language for newer developers to learn or understand. And there’s no reason why mainframe applications wouldn’t benefit from agile development and smaller, incremental releases within a DevOps-style automated pipeline.

Figuring out what different teams have done with COBOL over the years is what makes it so hard to manage change. Developers made endless additions and logical loops to a procedural system that must be checked out and updated as a whole, rather than as components or loosely coupled services.

With code and programs woven together on the mainframe in this fashion, interdependencies and potential points of failure are too complex and numerous for even skilled developers to untangle. This makes COBOL app development feel more daunting than need be, causing many organizations to look for alternatives off the mainframe prematurely.

Overcoming the limitations of generative AI

We’ve seen numerous hypes around generative AI (or GenAI) lately due to the widespread availability of large language models (LLMs) like ChatGPT and consumer-grade visual AI image generators.

While many cool possibilities are emerging in this space, there’s a nagging “hallucination factor” of LLMs when applied to critical business workflows. When AIs are trained with content found on the internet, they may often provide convincing and believable dialogss, but not fully accurate responses. For instance, ChatGPT recently cited imaginary case law precedents in a federal court, which could result in sanctions for the lazy lawyer who used it.

There are similar issues in trusting a chatbot AI to code a business application. While a generalized LLM may provide reasonable general suggestions for how to improve an app or easily churn out a standard enrollment form or code an asteroids-style game, the functional integrity of a business application depends heavily on what machine learning data the AI model was trained with.

Fortunately, production-oriented AI research was going on for years before ChatGPT arrived. IBM® has been building deep learning and inference models under their watsonx™ brand, and as a mainframe originator and innovator, they have built observational GenAI models trained and tuned on COBOL-to-Java transformation.

Their latest IBM watsonx™ Code Assistant for Z solution uses both rules-based processes and generative AI to accelerate mainframe application modernization. Now, development teams can lean on a very practical and enterprise-focused use of GenAI and automation to assist developers in application discovery, auto-refactoring and COBOL-to-Java transformation.

Mainframe application modernization in three steps

To make mainframe applications as agile and malleable to change as any other object-oriented or distributed application, organizations should make them top-level features of the continuous delivery pipeline. IBM watsonx Code Assistant for Z helps developers bring COBOL code into the application modernization lifecycle through three steps:

  1. Discovery. Before modernizing, developers need to figure out where attention is needed. First, the solution takes an inventory of all programs on the mainframe, mapping out architectural flow diagrams for each, with all of their data inputs and outputs. The visual flow model makes it easier for developers and architects to spot dependencies and obvious dead ends within the code base.
  2. Refactoring. This phase is all about breaking up monoliths into a more consumable form.  IBM watsonx Code Assistant for Z looks across long-running program code bases to understand the intended business logic of the system. By decoupling commands and data, such as discrete processes, the solution refactors the COBOL code into modular business service components.
  3. Transformation. Here’s where the magic of an LLM tuned on enterprise COBOL-to-Java conversion can make a difference. The GenAI model translates COBOL program components into Java classes, allowing true object orientation and separation of concerns, so multiple teams can work in a parallel, agile fashion. Developers can then focus on refining code in Java in an IDE, with the AI providing look-ahead suggestions, much like a co-pilot feature you would see in other development tools.

The Intellyx take

We are generally skeptical of most vendor claims about AI, as often they are simply automation by another name.

Compared to learning all the nuances of the English language and speculating on the factual basis of words and paragraphs, mastering the syntax and structures of languages like COBOL and Java seems right up GenAI’s alley.

Generative AI models designed for enterprises like IBM watsonx Code Assistant for Z can reduce modernization effort and costs for the world’s most resource-constrained organizations. Applications on known platforms with thousands of lines of code are ideal training grounds for generative AI models like IBM watsonx Code Assistant for Z.

Even in resource constrained environments, GenAI can help teams clear modernization hurdles and augment the capabilities of even newer mainframe developers to make significant improvements in agility and resiliency atop their most critical core business applications.

To learn more, see the other posts in this Intellyx analyst thought leadership series:

Accelerate mainframe application modernization with generative AI


©2024 Intellyx B.V. Intellyx is editorially responsible for this document. No AI bots were used to write this content. At the time of writing, IBM is an Intellyx customer.


More from Artificial intelligence




5 ways IBM helps manufacturers maximize the benefits of generative AI

2 min readWhile still in its early stages, generative AI can provide powerful optimization capabilities to manufacturers in the areas that matter most to them: productivity, product quality, efficiency, worker safety and regulatory compliance. Generative AI can work with other AI models to increase accuracy and performance, such as augmenting images to improve quality evaluation of a computer vision model. With generative AI, there are fewer “misreads” and overall better-quality assessments. Let’s look at five specific ways IBM® delivers expert solutions that…




Breaking down the advantages and disadvantages of artificial intelligence

5 min readArtificial intelligence (AI) refers to the convergent fields of computer and data science focused on building machines with human intelligence to perform tasks that would previously have required a human being. For example, learning, reasoning, problem-solving, perception, language understanding and more. Instead of relying on explicit instructions from a programmer, AI systems can learn from data, allowing them to handle complex problems (as well as simple-but-repetitive tasks) and improve over time. Today’s AI technology has a range of use cases…




The importance of data ingestion and integration for enterprise AI

4 min readThe emergence of generative AI prompted several prominent companies to restrict its use because of the mishandling of sensitive internal data. According to CNN, some companies imposed internal bans on generative AI tools while they seek to better understand the technology and many have also blocked the use of internal ChatGPT. Companies still often accept the risk of using internal data when exploring large language models (LLMs) because this contextual data is what enables LLMs to change from general-purpose to…




IBM’s new watsonx large speech model brings generative AI to the phone

3 min readMost everyone has heard of large language models, or LLMs, since generative AI has entered our daily lexicon through its amazing text and image generating capabilities, and its promise as a revolution in how enterprises handle core business functions. Now, more than ever, the thought of talking to AI through a chat interface or have it perform specific tasks for you, is a tangible reality. Enormous strides are taking place to adopt this technology to positively impact daily experiences as individuals and…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.

Subscribe now

More newsletters

spot_img

Latest Intelligence

spot_img