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


Support MC Press Online





  • White Paper: Node.js for Enterprise IBM i Modernization

    SB Profound WP 5539

    If your business is thinking about modernizing your legacy IBM i (also known as AS/400 or iSeries) applications, you will want to read this white paper first!

    Download this paper and learn how Node.js can ensure that you:
    - Modernize on-time and budget - no more lengthy, costly, disruptive app rewrites!
    - Retain your IBM i systems of record
    - Find and hire new development talent
    - Integrate new Node.js applications with your existing RPG, Java, .Net, and PHP apps
    - Extend your IBM i capabilties to include Watson API, Cloud, and Internet of Things

    Read Node.js for Enterprise IBM i Modernization Now!


  • Profound Logic Solution Guide

    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 companyare not aligned with the current IT environment.

    Get your copy of this important guide today!


  • 2022 IBM i Marketplace Survey Results

    Fortra2022 marks the eighth edition of the IBM i Marketplace Survey Results. Each year, Fortra captures data on how businesses use the IBM i platform and the IT and cybersecurity initiatives it supports.

    Over the years, this survey has become a true industry benchmark, revealing to readers the trends that are shaping and driving the market and providing insight into what the future may bring for this technology.

  • Brunswick bowls a perfect 300 with LANSA!

    FortraBrunswick is the leader in bowling products, services, and industry expertise for the development and renovation of new and existing bowling centers and mixed-use recreation facilities across the entertainment industry. However, the lifeblood of Brunswick’s capital equipment business was running on a 15-year-old software application written in Visual Basic 6 (VB6) with a SQL Server back-end. The application was at the end of its life and needed to be replaced.
    With the help of Visual LANSA, they found an easy-to-use, long-term platform that enabled their team to collaborate, innovate, and integrate with existing systems and databases within a single platform.
    Read the case study to learn how they achieved success and increased the speed of development by 30% with Visual LANSA.


  • Progressive Web Apps: Create a Universal Experience Across All Devices

    LANSAProgressive Web Apps allow you to reach anyone, anywhere, and on any device with a single unified codebase. This means that your applications—regardless of browser, device, or platform—instantly become more reliable and consistent. They are the present and future of application development, and more and more businesses are catching on.
    Download this whitepaper and learn:

    • How PWAs support fast application development and streamline DevOps
    • How to give your business a competitive edge using PWAs
    • What makes progressive web apps so versatile, both online and offline



  • The Power of Coding in a Low-Code Solution

    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:

    • Discover the benefits of Low-code's quick application creation
    • Understand the differences in model-based and language-based Low-Code platforms
    • Explore the strengths of LANSA's Low-Code Solution to Low-Code’s biggest drawbacks



  • Why Migrate When You Can Modernize?

    LANSABusiness 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.
    In this white paper, you’ll learn how to think of these issues as opportunities rather than problems. We’ll explore motivations to migrate or modernize, their risks and considerations you should be aware of before embarking on a (migration or modernization) project.
    Lastly, we’ll discuss how modernizing IBM i applications with optimized business workflows, integration with other technologies and new mobile and web user interfaces will enable IT – and the business – to experience time-added value and much more.


  • UPDATED: Developer Kit: Making a Business Case for Modernization and Beyond

    Profound Logic Software, Inc.Having trouble getting management approval for modernization projects? The problem may be you're not speaking enough "business" to them.

    This Developer Kit provides you study-backed data and a ready-to-use business case template to help get your very next development project approved!

  • What to Do When Your AS/400 Talent Retires

    FortraIT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators is small.

    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:

    • Why IBM i skills depletion is a top concern
    • How leading organizations are coping
    • Where automation will make the biggest impact


  • Node.js on IBM i Webinar Series Pt. 2: Setting Up Your Development Tools

    Profound Logic Software, Inc.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. In Part 2, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Attend this webinar to learn:

    • Different tools to develop Node.js applications on IBM i
    • Debugging Node.js
    • The basics of Git and tools to help those new to it
    • Using as a pre-built development environment



  • Expert Tips for IBM i Security: Beyond the Basics

    SB PowerTech WC GenericIn this session, IBM i security expert Robin Tatam provides a quick recap of IBM i security basics and guides you through some advanced cybersecurity techniques that can help you take data protection to the next level. Robin will cover:

    • Reducing the risk posed by special authorities
    • Establishing object-level security
    • Overseeing user actions and data access

    Don't miss this chance to take your knowledge of IBM i security beyond the basics.



  • 5 IBM i Security Quick Wins

    SB PowerTech WC GenericIn today’s threat landscape, upper management is laser-focused on cybersecurity. You need to make progress in securing your systems—and make it fast.
    There’s no shortage of actions you could take, but what tactics will actually deliver the results you need? And how can you find a security strategy that fits your budget and time constraints?
    Join top IBM i security expert Robin Tatam as he outlines the five fastest and most impactful changes you can make to strengthen IBM i security this year.
    Your system didn’t become unsecure overnight and you won’t be able to turn it around overnight either. But quick wins are possible with IBM i security, and Robin Tatam will show you how to achieve them.

  • Security Bulletin: Malware Infection Discovered on IBM i Server!

    SB PowerTech WC GenericMalicious programs can bring entire businesses to their knees—and IBM i shops are not immune. It’s critical to grasp the true impact malware can have on IBM i and the network that connects to it. Attend this webinar to gain a thorough understanding of the relationships between:

    • Viruses, native objects, and the integrated file system (IFS)
    • Power Systems and Windows-based viruses and malware
    • PC-based anti-virus scanning versus native IBM i scanning

    There are a number of ways you can minimize your exposure to viruses. IBM i security expert Sandi Moore explains the facts, including how to ensure you're fully protected and compliant with regulations such as PCI.



  • Encryption on IBM i Simplified

    SB PowerTech WC GenericDB2 Field Procedures (FieldProcs) were introduced in IBM i 7.1 and have greatly simplified encryption, often without requiring any application changes. Now you can quickly encrypt sensitive data on the IBM i including PII, PCI, PHI data in your physical files and tables.
    Watch this webinar to learn how you can quickly implement encryption on the IBM i. During the webinar, security expert Robin Tatam will show you how to:

    • Use Field Procedures to automate encryption and decryption
    • Restrict and mask field level access by user or group
    • Meet compliance requirements with effective key management and audit trails


  • Lessons Learned from IBM i Cyber Attacks

    SB PowerTech WC GenericDespite the many options IBM has provided to protect your systems and data, many organizations still struggle to apply appropriate security controls.
    In this webinar, you'll get insight into how the criminals accessed these systems, the fallout from these attacks, and how the incidents could have been avoided by following security best practices.

    • Learn which security gaps cyber criminals love most
    • Find out how other IBM i organizations have fallen victim
    • Get the details on policies and processes you can implement to protect your organization, even when staff works from home

    You will learn the steps you can take to avoid the mistakes made in these examples, as well as other inadequate and misconfigured settings that put businesses at risk.



  • The Power of Coding in a Low-Code Solution

    SB PowerTech WC GenericWhen 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:

    • Discover the benefits of Low-code's quick application creation
    • Understand the differences in model-based and language-based Low-Code platforms
    • Explore the strengths of LANSA's Low-Code Solution to Low-Code’s biggest drawbacks



  • Node Webinar Series Pt. 1: The World of Node.js on IBM i

    SB Profound WC GenericHave 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.
    Part 1 will teach you what Node.js is, why it's a great option for IBM i shops, and how to take advantage of the ecosystem surrounding Node.
    In addition to background information, our Director of Product Development Scott Klement will demonstrate applications that take advantage of the Node Package Manager (npm).
    Watch Now.

  • The Biggest Mistakes in IBM i Security

    SB Profound WC Generic The Biggest Mistakes in IBM i Security
    Here’s the harsh reality: cybersecurity pros have to get their jobs right every single day, while an attacker only has to succeed once to do incredible damage.
    Whether that’s thousands of exposed records, millions of dollars in fines and legal fees, or diminished share value, it’s easy to judge organizations that fall victim. IBM i enjoys an enviable reputation for security, but no system is impervious to mistakes.
    Join this webinar to learn about the biggest errors made when securing a Power Systems server.
    This knowledge is critical for ensuring integrity of your application data and preventing you from becoming the next Equifax. It’s also essential for complying with all formal regulations, including SOX, PCI, GDPR, and HIPAA
    Watch Now.

  • Comply in 5! Well, actually UNDER 5 minutes!!

    SB CYBRA PPL 5382

    TRY 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.

    Request your trial now!

  • Backup and Recovery on IBM i: Your Strategy for the Unexpected

    FortraRobot automates the routine 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:
    - Simplified backup procedures
    - Easy data encryption
    - Save media management
    - Guided restoration
    - Seamless product integration
    Make sure your data survives when catastrophe hits. Try the Robot Backup and Recovery Solution FREE for 30 days.

  • Manage IBM i Messages by Exception with Robot

    SB HelpSystems SC 5413Managing messages on your IBM i can be more than a full-time job if you have to do it manually. 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:
    - Automated message management
    - Tailored notifications and automatic escalation
    - System-wide control of your IBM i partitions
    - Two-way system notifications from your mobile device
    - Seamless product integration
    Try the Robot Message Management Solution FREE for 30 days.

  • Easiest Way to Save Money? Stop Printing IBM i Reports

    FortraRobot 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:

    - Automated report distribution
    - View online without delay
    - Browser interface to make notes
    - Custom retention capabilities
    - Seamless product integration
    Rerun another report? Never again. Try the Robot Report Management Solution FREE for 30 days.

  • Hassle-Free IBM i Operations around the Clock

    SB HelpSystems SC 5413For over 30 years, Robot has been a leader in systems management for IBM i.
    Manage your job schedule with the Robot Job Scheduling Solution. Key features include:
    - Automated batch, interactive, and cross-platform scheduling
    - Event-driven dependency processing
    - Centralized monitoring and reporting
    - Audit log and ready-to-use reports
    - Seamless product integration
    Scale your software, not your staff. Try the Robot Job Scheduling Solution FREE for 30 days.