Subscribe to our e-mail newsletters
For more info on a specific newsletter, click the title. Details will be displayed in a new window.
Computerworld Daily News (First Look and Wrap-Up)
Computerworld Blogs Newsletter
The Weekly Top 10
More E-Mail Newsletters 
Computerworld 2007Subscribe to Computerworld
40 years of the most authoritative source of news and information for IT leaders.

Rebuilding the legacy -- modernizing mainframe code

Millions of lines of mainframe code need to be modernized. How to do that -- and what to keep on the mainframe -- is the trillion-dollar question.
 

Sign up to receive Security Resource Alerts

April 24, 2006 (Computerworld) --

By some estimates, the total value of the applications residing on mainframes today exceeds $1 trillion. Most of that code was written over the past 40 years in Cobol, with some assembler, PL/1 and 4GL thrown into the mix. Unfortunately, those programs don't play well with today's distributed systems, and the amount of legacy code at companies such as Sabre Holdings Corp. in Southlake, Texas, makes a rewrite a huge undertaking. "We're bound by our software and its lack of portability," Sabre Vice President Alan Walker says of the 40,000 programs still running on IBM Transaction Processing Facility (TPF), Agilent Modular Power System and other mainframe systems.

Alan Walker, vice president of Sabre Holdings
Alan Walker, vice president of Sabre Holdings
With a shortage of Cobol programming talent looming in the next decade and a clear need for greater software agility and lower operating costs, IT organizations have begun to make transition plans for mainframe applications. The trick lies in figuring out which applications to modernize, how to do it and where they should reside.

Applications fall into one of three groups based on scale, says Dale Vecchio, an analyst at Gartner Inc. Applications under 500 MIPS are migrating to distributed systems. "These guys, they want off," Vecchio says. As organizations begin peeling away smaller applications, they may move to a packaged application; port the application to Unix, Linux or Windows; or, in some cases, rewrite the applications to run in a .Net or Java environment, he says.

Dale Vecchio, an analyst at Gartner Inc.
Dale Vecchio, an analyst at Gartner Inc.
In the 1,000-MIPS-and-up arena, the mainframe is still the preferred platform. Applications between 500 and 1,000 MIPS fall into a gray area where the best alternative is less clear. An increasingly common strategy for these applications is to leave the Cobol in place while using a service-oriented architecture (SOA) to expose key interfaces that insulate developers from the code.

"If you expose those applications as a Web service, it's irrelevant what that application was written in," says Ian Archbell, vice president of product management at tool vendor Micro Focus International PLC in Rockville, Md. "SOA is just a set of interfaces, an abstraction."

"SOA at least allows you to break the dependency bonds," says Ron Schmelzer, an analyst at ZapThink LLC in Waltham, Mass.

Cobol isn't going away, but it's also not moving forward. While the Cobol code base on mainframes is projected to increase by 3% to 5% a year, that's mostly a byproduct of maintenance, says Gary Barnett, an analyst at Ovum Ltd. in London.

"No one is learning [Cobol] in school anymore, and new applications aren't being built in Cobol anymore," says Schmelzer. "Cobol is like Latin."

Vendors such as Micro Focus have abandoned the idea of evolving the Cobol language for distributed application development. "Micro Focus is not about a better Cobol compiler," says Archbell. Instead, its approach is to "embrace and extend," he says. "We expose things like aggregated CICS transactions as JavaBeans, Web services, or .Net or C# code. It's wrappering." But with so much legacy code, that process won't take place overnight. "It could take 20 years," Archbell says.

Sabre still has more than 10,000 MIPS of applications on mainframes, and Walker plans to migrate everything off over the next few years. The company's TPF-based fare- searching application, used by Travel-ocity.com LP and travel agents, has been rewritten to run as a 64-bit Linux program on four-way Opteron servers.

Sabre migrated the back-end data to 45 servers running M ySQL that each contain fully replicated data. The new system is more flexible and "pretty cheap" compared with the mainframe, Walker says. He questions the conventional wisdom that all high-end applications need to stay on mainframes, noting that the search application was in the thousands of MIPS. "It's pretty obvious that you don't need mainframes to do large-scale transactions," he says, pointing to the successes of eBay Inc. and Amazon.com Inc.

Barnett points out that very few of his clients have been successful at completely rewriting large-scale applications.

In Sabre's case, it's worth noting that the application was CPU- and memory-intensive and that competitive pressures would have forced a rewrite anyway. "We solved a larger problem," which was the need to generate hundreds of results instead of the 10 to 20 the TPF system could deliver per search, Walker says.

Simply rewriting millions of lines of code to deliver the same features not only wouldn't cut it financially at The Bank of New York Co., but also would require a lifetime of work, says Edward Mulligan, executive vice president of the technology services division. A gradual transition to packaged applications might help such businesses, says Ovum's Barnett. "Eighty percent of core business processes in banks are the same. In 10 years, it will make little sense to have your own, unique homegrown savings program," he says.

Mulligan has been migrating some smaller applications, freeing up expensive mainframe capacity. The big reason: cost. When the vendor of his problem management software refused to bring licensing in line with equivalent packages in the Windows arena, he migrated to a cheaper Windows version. The total operating costs of running applications on the mainframe can be "easily" 10 times that of a Unix or Windows architecture, says Sabre's Walker.

While IBM has begun offering sub-capacity, usage-based pricing, few third-party vendors of mainframe software have followed suit. "Vendors who don't embrace flexible pricing are accelerating the decline in their business," says Barnett.

At Sabre, Walker plans to continue to migrate off the mainframe, which he says is simply too expensive.

In-Place Upgrade

Bob DiAngelo, vice president and CIO at MIB Group Inc.
Bob DiAngelo, vice president and CIO at MIB Group Inc.
Bob DiAngelo, vice president and CIO at MIB Group Inc., is already facing that challenge. His company relies on an I/O-intensive application used to detect insurance fraud for more than 500 insurers in North America. DiAngelo says it was impossible to hire anyone to support MIB Group's IBM mainframe applications, originally written in 1969 in assembler with a back-end VSAM data-base. So a few years ago, he received approval to re-engineer the system. The IT team is developing the new system in Java based on a three-tiered architecture using WebSphere MQSeries and DB2. But the new system, now halfway complete, doesn't run on Unix or Windows hardware. It, along with the systems still in production and the development and quality assurance testing environments, all run within a single logical partition on a 210 MIPS uniprocessor IBM zSeries 880 with a z/OS Application Assist Processor (zAAP) that handles the Java workload.

The new Java code runs on a zAAP. Keeping the applications off the mainframe processor keeps CPU-based licensing for third-party applications from rising while boosting the total system capacity to 366 MIPS. But DiAngelo doesn't have a lot of third-party software to worry about. He says declining mainframe operating costs have allowed the company to grow from an 80 MIPS system to the 210 MIPS box plus the zAAP processor while total costs remained "relatively stable."

Walker isn't convinced. "We could run Java code in a z9, but it would make it the world's most expensive Java CPU," he says.

Barnett agrees -- partially. "If you have Java or workloads that need high-speed access to mainframe data, running it on a mainframe partition is a viable choice," he says. "But ... for generic Linux or Java workloads, it still isn't an obvious consolidation platform."

IBM is hoping that others will follow MIB Group's example. "IBM is pushing one box, multiple architectures," says Gartner's Vecchio. Guru Rao, an IBM fellow and chief engineer for eServer, says consolidating a three-tiered architecture on the mainframe when data resides there makes sense because communications between the front and back end don't have to go over a latency-prone TCP/IP network. On the mainframe, he says, "you can communicate with each of these spaces using instructions as opposed to TCP traffic."

DiAngelo acknowledges that rewriting applications isn't always practical. "Doing a rip-and-replace is a big thing," he says of the five-year project. "There are things you can't afford to re-engineer, and they will probably always sit in the place where they were developed."

The transition also requires more horsepower for an application that consumes up to 300 I/Os per transaction and up to 130,000 transactions per day. "Java requires more CPU power than assembler, [and] as you move from proprietary VSAM to a generated database system, you lose efficiencies. With WebSphere, MQSeries and DB2, you have to crank the dial up," DiAngelo says.

Another question is whether that strategy will scale for applications beyond a few hundred MIPS in size, says Vecchio. On the high end, IT must move to SOA because there are no other options, he says. "The hope for mainframe customers is that WebSphere and Java can perform with the same quality of service that they have come to expect from CICS, IMS and Cobol," he says.

Christian Anschuetz, CIO of Publicis Group SA
Christian Anschuetz, CIO of Publicis Group SA
Publicis Group SA moved entirely off of an MVS mainframe and onto an open system. The advertising agency deployed high-density Hewlett-Packard Co. blade servers and VMware Inc. partitions to increase utilization levels. It migrated the primary application -- a financial reporting system that included client billing, ERP and reporting that amounted to 80% of the mainframe workload -- to PeopleSoft. Other applications were either ported or retooled entirely, says CIO Christian Anschuetz. "It was a Herculean effort, to be sure," he says of the four-year project.

His main motivation was cost. The mainframe was "extraordinarily expensive" and not agile enough for the organization's needs, Anschuetz says, and "the licensing costs associated with the development tools were just astronomical." Publicis has reduced its operating costs by 10% a year.

Even after considering the management costs of a distributed system and the cost of the Intel servers needed to replace the mainframe, the total cost of ownership was still "dramatically lower," Anschuetz says.

He says he did have concerns about moving off the mainframe. "I remember someone telling me we shouldn't get rid of the mainframe, it's five 9s, and you're going to be running this Windows junk," Anschuetz says. "The reality is that [our distributed systems] are up all of the time, and our actual [mean time between failures] is tremendous."

When it comes to dealing with legacy applications, there are no across-the-board answers, says Robert Rosen, president of Share, a Chicago-based IBM mainframe user group. "Where you get into trouble is when you try to force-fit a solution," he says. "Taking the best of both worlds, that's the key."

Growth Inhibitors
Data center managers cited software costs as the largest inhibitor to increasing their use of mainframes.
Hardware costs
1%
IBM software costs
15%
Third-party software costs
47%
Base: 100 data center conference attendees

Source: 2005 Gartner Inc. Survey

Plans for Cobol Apps
Which of the following best describes your company’s strategy for its mainframe Cobol applications?
Plans for Cobol Apps

Base: 158 nongovernment IT decision-makers
Source: Forrester Research Inc., November 2005 survey



Print this Story Send Us Feedback E-mail this Story Digg! Digg this Story Slashdot this Story
Rebuilding the Legacy
The Cobol Brain Drain
"Mozilla's successful attempt to set a world record for downloads of a single program, Firefox 3 was dumb...." Read more...
"Apple yesterday dropped the price of the 64Gb MacBook Air by a whopping $500 ($400 less for the SSD and..." Read more...
Read more Software posts or See all Blogs
Microsoft promises four patches next week
Google gives away home-cooked Web application security scanner
Storm botnet stages Fourth of July attacks
More top stories...
Microsoft trumpets security additions in upcoming IE8
Apple cuts price of high-end SSD MacBook Air by $500
Ultrathin showdown: Apple MacBook Air vs. Lenovo ThinkPad X300 vs. Toshiba Portege R500
All it takes is a couple hours and about $125 to breathe new life into an old laptop. Here's how.
Is Microsoft's Golden Age over? What are Gates' most memorable quotes? Find out in Computerworld's complete coverage of the end of the Bill Gates era at Microsoft.
There are some things your CIO definitely doesn't want to hear. Also don't miss the flipside, Five things you should always tell your boss.
With its latest version, Mozilla's browser continues to raise the bar for what Web browsers should be.
Reviews, analyses, how-tos, visual tours, hot issues and predictions about Microsoft's new OS.
Four years from now, the IT field will be a vastly different place. Will you be ready?
All Zones
Application Performance Zone
Business Continuity Zone
Data Center Management Zone
Enterprise-Class Security Zone
The File Data Management Zone
Grid Computing on Windows Zone
Security Management Zone
ITIL Best Practices Zone
The SAS Zone
Storage Virtualization Zone
Business Intelligence and Analytics Zone

Ads by TechWords

See your link here
Computerworld Technology Briefing: An open-source path to optimal virtualization
Download this Technology Briefing now!
(Source: Novell/IBM/Intel) Virtualization is about a lot more than just lowering total cost of ownership. In fact users that have taken an open source path to virtualization have realized the additional, mission-critical benefit of markedly reduced IT complexity, as well as a more flexible infrastructure that is easier to change to meet shifting, often unpredictable business requirements.
Download this executive briefing download
Advance your BlackBerry(R) solution management know-how this July
Advance your BlackBerry(R) solution management know-how this July
BlackBerry Technical Seminar, register today!
Go to the webcast 
Rapid application development, rapid results
Download this special report now!
(Source: Intersystems) All too many businesses suffer from IT infrastructures that are a hodge-podge of disconnected databases and applications. What's needed is the ability rapidly develop connected applications under a unified service-oriented architecture. InterSystems Ensemble integration environment and Cache database are effective tools in answering this need, delivering a rapid ROI.
Download this white paper go
White Papers
Read up on the latest ideas and technologies from companies that sell hardware, software and services.
Deploying Virtualized NetWare on Linux Whitepaper
Toward More Flexible, Next-Generation Collaboration Solutions
Driving Business Success Through Workgroup Choice and Flexibility
View more whitepapers