|
 |
|
|
Duration
2 – 3 hours
Overview
Audience
Personnel requiring knowledge of RPG programming.
Prerequisites
Knowledge of data processing, programming concepts, and the AS/400 Operating System.
Objectives
After completing this course, the student should be able to:
- Learn the essentials of arithmetic operations and the parts of the C specification using the ADD
operation
- Detail and understand the functioning of the MOVE and the MOVEL operations.
- Outline and code the following arithmetic operations: SUB, MULT, DIV. MVR and Z-ADD.
- Recognize, detail and code RPG/400 Figurative Constants and identify the correct usage of
Date and Time functions.
Course Content
Unit 1 RPG/400 CODING PRETEST
Unit 2 CALCULATION SPECIFICATIONS
- Calculation Specification Operations:
• File Processing
• Calculations
• Data Manipulation
- Field and Indicator Settings
- Calculation Specification Opcodes
- C SPEC Coding Example
Unit 3 OPERATION CODES – ADD as an INTRODUCTION
- ADD Operation Code
- Internal Working Area
- How to Calculate the Size of the Result Field
Unit 4 OPERATION CODES – ROUNDING and RESULTING INDICATORS
- Purpose and Effect of Rounding
- When to Use Rounding
- Resulting Indicators
Unit 5 OPERATION CODES – MOVE AND MOVEL
- MOVE Operation Code
- MOVEL Operation Code
Unit 6 OPERATION CODES – ARITHMETIC, CONSTANTS, DATE and TIME
- Opcodes:
• SUBTRACT
• MULTIPLY
• DIVIDE
• Z-ADD
- Figurative Constants
- Date and Time Functions
Unit 7 RPG/400 CODING MASTERY TEST
|
|
|
|
| ©
Copyright 2007. All rights reserved. Interskill Learning, Inc. |
|  |
|
|