Free-Format RPG IV
About this book
This how-to guide offers a concise and thorough introduction to the increased productivity, better readability, and easier program maintenance that comes with the free-format style of programming in RPG IV. Although free-format information is available in IBM manuals, it is not separated from everything else, thereby requiring hours of tedious research to track down the information needed. This book provides everything one needs to know to write RPG IV in the free-format style, and author Jim Martin not only teaches rules and syntax but also explains how this new style of coding has the potential to improve overall programmer productivity—from initial development through maintenance. He methodically covers the many style issues, such as named indicators and built-in functions, and addresses topics including input and output, program flow, data manipulation, math operations, prototyping, and APIs. This second edition is updated to V7.1 of the IBM i operating system on IBM Power machines, including a chapter on the Technology Refresh 7 (TR7) enhancements. Updated throughout, the book explains the latest techniques for source program entry (LPEX editor in RDp), the new way to code Embedded SQL in free-format, and other items that have occurred in the years since the first edition.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Title Page
- Copyright
- Dedication
- Acknowledgments
- Contents
- Preface to the Second Edition
- A Note about Source Entry
- Chapter 1: Pre-Free-Format Rpg IV
- Chapter 2: The Case for Free-Format Rpg
- Chapter 3: Introducing Free-Format Rpg IV
- Chapter 4: Input/Output Using Free Format
- Chapter 5: Program Flow Using Free Format
- Chapter 6: Embedded Sql Operations Using Free Format
- Chapter 7: Data-Manipulation Operations Using Free Format
- Chapter 8: Math Operations in Free Format
- Chapter 9: Call and Return in Free Format
- Chapter 10: Solutions for Problem Situations
- Chapter 11: Sample Programs
- Appendix a: Free-Format Operations
- Appendix B: Example Screens, Dds, and Programs
- Appendix C: Free-Format Alternatives for Fixed-Format Operations
- Index
