![]() |
Overview
In V5R1, IBM "liberated" the RPG language. Logic statements can now be completely free format. However, it's not enough to simply understand the basic syntax rules for coding /Free format RPG logic. Coding in /Free forces RPG programmers to give up many of their old habits (and many of their familiar operation codes) and use newer, more productive coding techniques.
In this seminar, we'll explore some of these techniques and discuss their benefits. We'll also cover the basic syntax rules along with the advantages of /Free-form RPG.
Approximate Study Time: 75 minutes
Objectives
After completing this seminar, you should be able to:
- Understand the basic syntax rules of /Free RPG and learn to love the semicolon!
- Use the Built-in functions designed to replace numbered indicators and unsupported operation codes, including newer ways to manipulate dates and times
- Discover alternatives for the defunct MOVE operation
- Use prototypes to call programs without PARM or PLIST
- Use new language features ONLY available in /Free form
Topic Outline
Why /Free?
The basics of /Free syntax
Coding without Numbered Indicators
Unsupported Op-Codes and how to replace them
Options Only available in /Free
Audience
This seminar is intended for programmers with some experience with the RPG IV (aka, RPGLE or ILE RPG) language, but little or no experience with coding in /Free style logic.
Prerequisites
The student should be experienced with programming in RPG IV.

