BMC - Interskill Learning Mainframe Training

[email protected]

The World’s Most Delivered Mainframe Training
Search   Course Catalog  
Return to Catalog Home     Return to Curriculum Listing

RPG/400 Coding

Duration

6 hours

Overview

The RPG/400 - Coding course explains the fundamental Report Program Generator (RPG) operation codes that enable programmers to manage field values, perform numeric operations, and manipulate dates for retrieval and viewing.

Audience

Personnel requiring knowledge of RPG/400 coding

Prerequisites

Knowledge of data processing, programming concepts, and the IBM i operating system.

Objectives

    After completing this course, the student will be able to:
  • Recognize the essentials of arithmetic operations and the parts of the C specification by using the ADD operation
  • Define the functioning of the MOVE and the MOVEL operations
  • Identify how to code arithmetic operations SUB, MULT, DIV, MVR, and Z-ADD
  • Recognize RPG/400 figurative constants and the correct usage of date and time functions

Course Content

Calculation Specifications

Calculation Specification Operations
File Processing
Calculations
Data Manipulation
Field and Indicator Settings
Calculation Specification Opcodes
C SPEC Coding Example

Operation Codes - ADD as an Introduction

ADD Operation Code
Internal Working Area
How to Calculate the Size of the Result Field

Operation Codes - Rounding and Resulting Indicators

Purpose and Effect of Rounding
When to Use Rounding
Resulting Indicators

Operation Codes - MOVE and MOVEL

MOVE Operation Code
MOVEL Operation Code

Operation Codes – Arithmetic, Constants, Date and Time

Opcodes
SUBTRACT
MULTIPLY
DIVIDE
Z-ADD
Figurative Constants
Date and Time Functions

RPG/400 Coding Mastery Test

Search our catalog