Who Knew You Could Do That with RPG IV? Modern RPG for the Modern Programmer

A draft IBM Redbooks publication


Application development is a key part of the IBM® i businesses. The IBM i operating system is a very modern robust platform to create and develop applications. The RPG language has been around for a long time, but has not stopped being transformed into a modern business language.

This IBM Redbooks® publication is focused on helping the IBM i development community understand what is modern RPG. The world of application development has been rapidly changing over the past years. The good news is that IBM i has been changing right along with it, and has made significant changes to the RPG language. This book is intended to help developers understand what modern RPG looks like and how to move from older versions of RPG to a newer modern version. Additionally, this book covers the basics of ILE, interfacing with many other languages, and the best tools for doing development on IBM i.

Using modern tools, methodologies, and languages are key to continuing to stay relevant in today’s world. Being able to find the right talent for you shop is key to your continued success. Leveraging the guidelines and principles in this book can help set you up to find that talent today and into the future.

This publication is the result of work that was done by IBM, industry experts, business partners, and some of the original authors of the first two editions of this IBM Redbooks publication. Not only is the information important for developers, it is important for the business decision makers (CIO for example) to understand that the IBM i is not an ‘old’ system. The IBM i has modern languages and tools, its really just a matter of what you choose to do with the IBM i that defines its age.

Table of contents

Chapter 1. Introduction to RPG IV
Chapter 2. Programming RPG IV with style
Chapter 3. Subprocedures
Chapter 4. An ILE guide for the RPG programmer
Chapter 5. Application programming interfaces
Chapter 6. Database access with RPG IV
Chapter 7. Exception and error handling
Chapter 8. Interfacing
Chapter 9. IBM Rational Developer for IBM i
Chapter 10. Modern RPG comparison as viewed from a young developer
Appendix A. Additional material


These pages are Web versions of IBM Redbooks- and Redpapers-in-progress. They are published here for those who need the information now and may contain spelling, layout and grammatical errors.

This material has not been submitted to any formal IBM test and is published AS IS. It has not been the subject of rigorous review. Your feedback is welcomed to improve the usefulness of the material to others.

IBM assumes no responsibility for its accuracy or completeness. The use of this information or the implementation of any of these techniques is a customer responsibility and depends upon the customer's ability to evaluate and integrate them into the customer's operational environment.


Last Update
20 October 2016

Planned Publish Date
04 November 2016

Rating: Not yet rated




IBM Form Number

Number of pages