Tue, Dec
5 New Articles

In the Wheelhouse: Modernizing Legacy Applications

  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

What to do about legacy applications? Modernize or migrate? Doing nothing really isn't an option.


I didn't want to write a part 2 of "Finding the New Breed of RPG Programmers." Think of this as an addendum. I say this because I'm not much of a developer. When I talk about development, it's at more of a strategic level. I won't comment on what tool to use versus another tool with regard to programming techniques because I just don't live in that world anymore, and my ignorance will show. When talking about development, my role is essentially to put the right resources on the required tasks and try to make it all work on time and on budget. I get to have the good-spirited (mostly) arguments with business unit directors and massage the user expectations. In the end, I'm an administrator at heart. I like making things go by loading/configuring, not coding, the former takes much less time and satisfies my short attention span.


Regarding "Finding the New Breed of RPG Programmers," I just want to make two quick points before moving on.


First, the feedback from that particular article was very positive and a little controversialso much so that it triggered a good discussion on LinkedIn that veered into a feature-versus-feature comparison of languages and a dialogue about what constitutes a good IBM i developer. While not wading too far into the fray, I'll state that one comment is spot on in my book. A great trait of a good developer is that the bad managers dislike him and the good managers love him. I think that characteristic is not only for good developers but for anyone in a job where you need to be pushing the envelope. Those people are leaders. They're pioneers. They're not satisfied with status quo.


Second, there was a little poll where I posed this question: Did you learn RPG or IBM i (or predecessor technologies) as part of your college curriculum? It had 81 responses as of tonight [August 13, 2015]. On a quick count, about 25 percent of respondents had learned some form of RPG in college and only a fraction of those learned it on the AS/400 lineage. The point of that article has evidence after the fact. Better late than never, and I figured you should know about it.


To get on with the point of this article, I had a phone call this week from an applications administrator who has a similar job to mine with a similar infrastructure and wanted to pick my brain about a number of topics. Just two IT managers from different companies talking shop.


The topic turned to the dreaded words in modern IT: legacy applications.


So, Mr. Pitcher, what are you doing about them?


Like every question about intentions, it depends.


While I was quick to point out the great Colin Parris quote that "legacy means proven," we all must acknowledge that there is a much-needed trend to modernize applications. This modernization is not an end game but a strategic method. We must all be looking forward. We must be designing applications for the users of tomorrow with the tools we have today.


For decades, the company I work for relied heavily on the meat and potatoes of RPG and DB2. Currently, we're in the process of moving to a vendor-supported ERP that has some elements of RPG, yet all DB2 databases are now tables and all logical files are now views. In short, they're not DDS physical and logical files anymore. The bulk of the applications were written in Java. Most of our legacy applications for ERP are being modernized by an upfront purchase, rather than in-house development over time. Modernization isn't free, no matter which way you go.


But what about your custom Domino applications?


Ah, yes. Domino applications. Applications that complemented the ERP were generally built in Domino and many of those applications look a little long in the tooth by default. But they work. We have not taken the time or investment to go the Xpages route, IBM's suggested path to putting a more attractive front-end onto Domino applications. I've heard the uptake for Xpages described as "experimental" quite recently. It just hasn't taken off. The why really doesn't matter, but I'd assume it's because Xpages is far more a step from what Domino really is: staggeringly easy.


There are some striking similarities and some drastic differences between Domino applications and RPG applications. Domino applications are different compared to RPG applications because anyone can build one. That was its great strength, and some would argue it still is. You don't need to be a developer. Anyone can create a fully functional Domino application with minimal coding, or no code at all, by way of simple actions in a very short amount of time. It can scale to dramatic heights in terms of performance. And security? Forget about it. Record-level security was available many years ago with Domino. For user-built applications, just compare it with Microsoft Access, and Domino wins for simplicity, security, and scalability, especially if built by someone who knows how to build an application workflow. Arguably the biggest strength of Domino applications is backward-compatibility. If you built an application on Domino 6, you'd be 999 times out of 1000 able to run it on Domino 9. Sounds similar to IBM i applications written in RPG, right?


And as with the RPG modernization debate, Domino customers are also going through a modernization dilemma. As good as Domino is with backward-compatibility, its forward-compatibility is just the opposite. Likewise, as far as resourcing goes, it's the exact same argument. It's hard to find people, let alone young people, with Domino skill sets. There are no schools teaching Domino. Of course, if I did a poll similar to the aforementioned poll but asking Domino groups on LinkedIn, I imagine I'd get the same answer we got from the RPG and IBM i groups. They learned it on the job. Many of you bought Domino when it was announced on the AS/400 back in 1998 and just learned it.


What's the path for modernization of Domino applications? Do you make the investment in Xpages, or do you convert the application and valuable business logic to something else? Do you maintain the dreaded status quo?


For us, we made the decision to leverage IBM i for Domino applications. We already do in most respects as Domino works beautifully on IBM i. Vendor-supported Domino applications will remain on the Domino server. We pay support, and we must hold our vendors' feet to the fire in terms of demanding modernization. Let them put the modernization development effort into those. For our custom applications, we've decided to migrate away from the Domino NSF database to DB2 for i. For the business logic, we're using PHP. Our rationale is simple: the integrated DB2 database is the backbone of IBM i and therefore our business technology infrastructure. DB2 has shown a constant upward trend of modernization, allowing developers to take advantage of new features and improved scalability. The database is what counts. We have PHP skill in-house, which allows us to build modern, intuitive user interfaces, so we choose to leverage that skill. It so happens that there is an abundance of PHP developers in the overall IT community. Even if there wasn't, a Java programmer or even a free-form RPG programmer can read it. Let me rephrase that. We're building applications on IBM i that modern developers can read and write in the future.


But why? If Domino is so easy, why spend time converting to something else? While building business logic in Domino is easy, building an attractive and responsive user experience is not. This is where IBM has missed the mark, and this is a great place where they can do something positive. If there were an easy way to retain the business logic and build attractive, modern interfaces with the ease Domino customers are used to having, then we would be having our developers learn how to do it. Unfortunately, that doesn't appear to be on the horizon. And because the perceived uptake of Xpages isn't very high, I don't feel warm and fuzzy about spending resources converting everything to it. On that software side of IBM, products seem to come and stay or come and go. The future isn't quite as clear as it is on the systems side of IBM, where you can see POWER9 and POWER10 on the horizon, along with the next versions of IBM i.


There's really no right answer or wrong answer with regard to plans for legacy apps. You have to pick what's the best for your business. My colleague has a team of developers who've steadily upgraded their skills outside of Domino and RPG. Many different toolsets are under one roof. What do you do? You have to find that common ground. You have to inventory your resources and see what other people are doing. What do you see as a strategic application mainstay that will get you five or ten years down the line? For me, it's DB2. Especially if you use it in the modern SQL fashion. I think many of you would agree with that line of thinking. If not, please share your thoughts in the comments section of this article.


The tool you choose to drive data in and out is up to you. The safer bet is on more-open solutions, where communities are driving the development. Those tools tend to grow fast and organically with the times, while avoiding many of the aforementioned roadblocks along the way.

Steve Pitcher
Steve Pitcher works with iTech Solutions, an IBM Premier Business Partner. He is a specialist in IBM i and IBM Power Systems solutions since 2001. Feel free to contact him directly This email address is being protected from spambots. You need JavaScript enabled to view it..


Support MC Press Online

$0.00 Raised:

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: