
Course Description (By Curriculum)

2 to 3 hours
Personnel requiring knowledge of RPG/400 coding
Knowledge of data processing, programming concepts, and the iSeries operating system
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
Calculation Specification Operations:
- File Processing
- Calculations
- Data Manipulation
Field and Indicator Settings
Calculation Specification Opcodes
C SPEC Coding Example
ADD Operation Code
Internal Working Area
How to Calculate the Size of the Result Field
Purpose and Effect of Rounding
When to Use Rounding
Resulting Indicators
MOVE Operation Code
MOVEL Operation Code
Opcodes:
- SUBTRACT
- MULTIPLY
- DIVIDE
- Z-ADD
Figurative Constants
Date and Time Functions