Recently revised and updated, this informative reference gives students and professionals a strong foundation in the essentials of business programming using RPG IV. Complete with numerous programming examples and support material, this account covers a variety of topics, including program development process, RPG IV specifications and operations, top down structured design, database definition and processing, interactive applications, and modular programming. Comprehensive and compatible with IBM i Release 5.4, 6.1, 7.1 and later releases, this manual will equip academics with the necessary tools to create highly effective and maintainable RPG IV programs using the latest techniques.
Chapter 1 – Introduction to Programming and RPG
Chapter 2 – Getting Started
Chapter 3 – Externally Described Files
Chapter 4 – Defining Data with Definition Specifications
Chapter 5 – Using Arithmetic Operations and Functions
Chapter 6 – Processing Character Data
Chapter 7 – Working with Dates
Chapter 8 – Controlling Program Workflow
Chapter 9 – Using Arrays and Tables
Chapter 10 – Accessing and Updating Database Files
Chapter 11 – Writing Interactive Applications
Chapter 12 – Calling Programs and Passing Parameters
Chapter 13 – Building Modular Programs with Procedures
Chapter 14 – Handling Errors
Chapter 15 – Programming with Subfiles
Appendix A – RPG IV Summary
Appendix B – RPG IV Style Guide
Appendix C – Program Development Tools
Appendix D – Program Testing and Debugging
Appendix E – Maintaining the Past
Appendix F – Data Files