Manta alt
Checkout


YOUR IBM i TRAINING SOURCE

You must allow the browser to execute JavaScript programs if you want to view product information. If your browser is set up to execute JavaScript programs, the problem is that the product ID was incorrect. Use the menu bar above to find the desired product.

Susan Gantner
System i Developer

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.