The Leading Educational Resource for IT Professionals

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

Rafael Victoria-Pereira


Continue Shopping or Checkout

  • 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, showing you what can be modernized in your legacy applications and how to do it; explaining different approaches to the issue, discussing the pros and cons of each one; and setting a few sound guidelines and offering 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 Evolve Your RPG Coding: Move from OPM to ILE ... and Beyond, you will:

    • 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--for possible system performance and programmer productivity gains
    • Learn about MVC and how it can help revolutionize your application's user interface
  • Rafael Victoria-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 with IBM i--to modern RPG and SQL, in his popular RPG Academy and SQL 101 series on He writes in an 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 Simoes 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.
  • Item Number: 5162
    Author Name: Rafael Victoria-Pereira
    Publication Date: December 1, 2015
    Edition: First
    Pages: 440
    ISBN-10: 1583474250
    ISBN-13: 9781583474259
    Format: Paperback
    Product Dimensions: 7 x 1 x 9 inches
    Shipping Weight: 1.6 pounds
    Language: English

Related Items