Free-Format RPG IV: The Express Guide to Learning Free Format, 3rd Edition
- Length: 224 pages
- Edition: Third Edition, Third edition
- Language: English
- Publisher: Mc Press
- Publication Date: 2015-04-01
- ISBN-10: 1583474137
- ISBN-13: 9781583474136
- Sales Rank: #861310 (See Top 100 Books)
Focusing strictly on teaching free-format RPG programming methods, this book will help programmers wishing to upgrade their skills
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, requiring hours of tedious research to track down the information needed. This book provides everything you need to know to write RPG IV in the free-format style. Author Jim Martin not only teaches rules and syntax, but also explains how this modern 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 third edition is updated to V7.1 of the IBM i operating system on IBM Power machines. An added chapter explains the new free-format H, F, D, and P specifications introduced by IBM in Technology Refresh 7, and programming examples throughout the book are updated to reflect the new specifications.
Table of Contents
Chapter 1: Pre-Free-Format RPG IV
Chapter 2: The Case for Free-Format RRG
Chapter 3: Free-Format H, F, D, and P Specifications
Chapter 4: Introducing Free-Format RRG IV
Chapter 5: Input/output Using Free Format
Chapter 6: Program Flow Using Free Format
Chapter 7: Embedded SQL Operations Using Free Format
Chapter 8: Data-Manipulation Operations Using Free Format
Chapter 9: Math Operations in Free Format
Chapter 10: Call and Return in Free Format
Chapter 11: Solutions for Problem Situations
Chapter 12: Sample Programs
Appendix A: Free-Format Operations
Appendix B: Example Screens, DDS, and Programs
Appendix C: Free-Format Alternatives for Fixed-Format Operations