Education Online - Career Education --- e-learning for Everyone.

 

Synopsis
RPG IV Programming: Arithmetic Operations shows users how to perform arithmetic calculations in RPG IV programs.

Audience
This course is for programmers who will be writing programs in RPG IV.

Time
3 hours

Product Code: RPGI04
After completing RPG IV Programming: Arithmetic Operations, the user should be able to:

Use addition, subtraction, multiplication, and division in a program
Create free-form arithmetic expressions
Determine the correct size to store arithmetic results
Apply concepts to an example program
Use EVAL statements for character assignment and conversion
Use built-in functions, arithemtic operations and indicators

Numbers and Arithmetic
Using simple numeric assignment
Using EVAL for arithmetic
Determining numeric truncation

Defining Field Sizes
Field size for addition
Field size for subtraction
Field size for multiplication
Field size for division
Rounding numbers
Improving EVAL precision

Example Program
Creating file and input specifications
Defining calculation specifications
Creating output specifications

Assignment and Conversion
Applying character assignment
Assigning figurative constants
Using data type conversion

Functions, Operations, and Indicators
Using built-in functions
Obsolete arithmetic operations
Setting resulting indicators

This course has the following features:

Exercises that allow users to practice in RPG IV
A file containing the text of the exercises
Simulations that allow users to practice course skills, even if they don't have access to RPG IV
A glossary
A Skill Assessment

Experience as an AS/400 or iSeries end user
RPG IV Programming: Introduction to RPG (RPGI01)
RPG IV Programming: Getting Started with RPG (RPGI02)
RPG IV Programming: Defining Data (RPGI03)

RPG IV Programming: Flow of Control (RPGI05)
RPG IV Programming: Externally Described Files (RPGI06)
RPG IV Programming: File Access and Record Manipulation (RPGI07)
RPG IV Programming: Interactive Applications (RPGI08)
RPG IV Programming: Tables and Arrays (RPGI09)

AS/400® is a registered trademark of International Business Machines Corporation.
Home | Training | Products | Specials | Tips | Resources
Copyright © 2001 - 2003 StaffKit, Inc.
All Rights Reserved.