Skip to main content
Evolve Your RPG Coding: Move from OPM to ILE ... and Beyond

Evolve Your RPG Coding: Move from OPM to ILE ... and Beyond

Current price: $79.95
Publication Date: December 1st, 2015
Publisher:
MC Press
ISBN:
9781583474259
Pages:
440

Description

If you still write RPG code as you did 20 years ago, or if you have RPG ILE on your resume but don’t actually use or understand it, this book is for you. It will help you transition from the Original Programming Model (OPM) to a more modern, modular, and efficient RPG ILE.

With this book, each concept of ILE is made accessible. You will start by taking baby steps with small, easily understandable examples, and build to more complete and complex pieces of code. All the while, you will explore each component of modern RPG, learning how it fits with the other pieces to gain the full RPG ILE picture.

By its nature, this book is not an ILE quick-reference guide. Rather, it is a "slow reference guide." It introduces new concepts with analogies to OPM whenever possible, explaining and expanding with realistic scenarios of increasing complexity (like inventory management programs, for instance).

The book also goes beyond ILE, with comprehensive chapters about SQL and code organization and structure. Then it goes even further--the final part of the book is dedicated to Modernization:

* It shows what can be modernized in your legacy applications and how to do it;
* Explains different approaches to the issue, discussing the pros and cons of each one; and
* Sets a few sound guidelines and offers advice on how to proceed, based on the author's and other several experts' experience.

By the end of the book, you'll be a better programmer. You'll have new tools, new approaches, and most importantly, new ideas, to solve those problems big and small that are the life of an RPG programmer.

Upon completion of this book, you will be able to:

* Migrate your OPM code to ILE RPG in a structured and easier-to-maintain way.
* Write code in free-format RPG.
* Use built-in functions to solve hard-to-tackle and/or time-consuming issues.
* Get a comprehensive knowledge about SQL and how it can be useful to an RPG programmer.
* Learn about SQL's stored procedures and user-defined functions concepts and how to use them to modernize your application.
* Understand the possibilities that embedded SQL in RPG offers.
* Use SQL cursors to replace OPNQRYFs.
* Understand how you can modernize your legacy applications.
* Use SQL's Data Definition Language to replace DDS-defined physical and logical files, which can bring system performance and programmer productivity gains.
* Learn about the MVC and how it can help revolutionize your application's user interface.
* Become a "modern RPG" programmer, with a new set of skills and tools.

About the Author

Rafael Victória-Pereira has more than 16 years of IBM i experience, as a programmer, analyst, and manager. Over that period, he has been an active voice in the IBM i community, encouraging and helping programmers transition to ILE and free-format RPG. Rafael has written more than 50 technical articles about topics ranging from interfaces--the topic for his first book "Flexible Input Dazzling Output"--to modern RPG (particularly, the popular RPG Academy Tech Tip Series) and SQL (the new and successful SQL 101 Tech Tip Series). He writes in a down-to-earth, easy-to-read, practical style that's highly popular with his audience of IBM technology professionals.

Rafael currently works as an Enterprise Architect at the Luis Simões Group in Portugal. His areas of expertise include programming in the IBM i native languages (RPG, CL, and DB2 SQL) and "modern" programming languages, such as C# and Python, as well as project management and consultancy.