Free-Format RPG IV


Book Description

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.




Free-Format RPG IV


Book Description

What could be more important than upgrading your RPG skills? Traditional fixed-format style RPG IV programmers everywhere are embracing the increased productivity, better readability, and easier program maintenance that comes with the free-format style of programming in RPG IV. This book, a "how-to" guide and the first of its kind, will provide you with concise and thorough information on this powerful new way of coding RPG IV. Though 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 you need. With this book, your search is over. Free-Format RPG IV is the "one-stop" resource that will save you time and frustration. In it, you'll find 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 new style of coding has the potential to improve overall programmer productivity—from initial development through maintenance. He methodically covers the "how to" involved in free-format RPG IV, including many style issues, such as named indicators and built-in functions. He also addresses input and output, program flow, data manipulation, and math operations. There is even a chapter on prototyping and APIs. Free-Format RPG IV is the definitive guide on the topic and just what you need to get started with this exciting, powerful style of programming. With Free-Format RPG IV you will: - Learn not only the "how-to," but also the "why" of free-format RPG IV - Acquire essential, free-format style tips to help you write good, maintainable code - Find complete-program solutions for specific problems, including associated display and printer files - Discover how upgrading your RPG skills to free-format can take your programming career to the next level.




Free-Format RPG IV


Book Description

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.







Who Knew You Could Do That with RPG IV? Modern RPG for the Modern Programmer


Book Description

Application development is a key part of IBM® i businesses. The IBM i operating system is a modern, robust platform to create and develop applications. The RPG language has been around for a long time, but is still being transformed into a modern business language. This IBM Redbooks® publication is focused on helping the IBM i development community understand the modern RPG language. The world of application development has been rapidly changing over the past years. The good news is that IBM i has been changing right along with it, and has made significant changes to the RPG language. This book is intended to help developers understand what modern RPG looks like and how to move from older versions of RPG to a newer, modern version. Additionally, it covers the basics of Integrated Language Environment® (ILE), interfacing with many other languages, and the best tools for doing development on IBM i. Using modern tools, methodologies, and languages are key to continuing to stay relevant in today's world. Being able to find the right talent for your company is key to your continued success. Using the guidelines and principles in this book can help set you up to find that talent today and into the future. This publication is the result of work that was done by IBM, industry experts, business partners, and some of the original authors of the first edition of this book. This information is important not only for developers, but also business decision makers (CIO for example) to understand that the IBM i is not an 'old' system. IBM i has modern languages and tools. It is a matter of what you choose to do with the IBM i that defines its age.




Subfiles in Free-Format RPG


Book Description

A comprehensive resource that can be used by RPG programmers as they advance from basic subfile usage to more advanced programming, this manual offers concepts, explanations, and practical examples that reflect current trends. With downloadable templates that include both the DDS and RPG IV code, this resource provides the techniques and styles-from basic single-page displays to powerful methods such as recursion, data queues, and embedded SQL-that enable RPG programmers to become subfile masters. With updated code that shows modern methods, such as ILE strategies and free-format RPG, this reference offers a bounty of practical examples and advanced techniques.




Functions in Free-Format RPG IV


Book Description

Here is the ultimate guide to writing RPG IV programs with functions in the free-format style. Let RPG expert and best-selling author Jim Martin show you the way. Want to generate a random number, manipulate a character string, or determine the number of elements in a data structure? There's a function for that. Jim will even show you how to write your own custom built-in functions (BIFs). In this book, you'll discover the role of functions in free-format RPG IV. Jim explains the details of built-in functions (BIFs) and explores the use of C language functions, do-it-yourself functions (subprocedures), and prototyping and procedure interfaces for function connectivity of RPG IV main procedures with subprocedures and other modules. Because functions rely heavily on ILE, the book examines those ILE concepts that connect the parts of a multi-functional program, such as binding, import/export of data, service programs, and binding directories. In addition, you'll find how to prototype IBM's APIs.




Free - Format Rpg Iv ( How To Bring Your Rpg Programs Into The 21St Century)


Book Description

What could be more important than upgrading your RPG skills? Traditional fixed-format style RPG IV programmers everywhere are embracing the increased productivity, better readability, and easier program maintenance that comes with the free-format style of programming in RPG IV. This book, a how-to guide and the first of its kind, will provide you with concise and thorough information on this powerful new way of coding RPG IV.




RPG IV Programming on the AS/400


Book Description

This book is dedicated RPG IV Programming language and the AS/400 environment. The book includes over 60 compiled RPG IV listings documented with a line by line explanation of the instructions and or annotated comments. The author has included over 500 figures and he addresses other important AS/400 software with separate appendices for SEU, PDM, DFU, SDA and interactive debugging. Every chapter includes a summary, review questions, and programming assignments.




21st Century Rpg - /Free, Ile, and Mvc


Book Description

This guide teaches programmers who have been left behind in the IBM i's evolution to code more productively and modernize their business applications. Shirey uses a casual, humorous teaching style to explain the concepts, along with plenty of code examples. Readers will gain confidence in areas that may be new to them and use the provided examples to practice what they've learned. The manual is structured so that whether they are using the latest IBM i technology or an older version, readers will learn methods to improve coding and applications, as well as become comfortable with writing programs using ILE RPG, free-format RPG, and Model-View-Controller (MVC).