Description |
This course teaches programmers who are familiar with another language, but who are new to iSeries RPG IV (version 5), the basics of the RPG IV language. Examples of other programming languages are BASIC, COBOL or RPG II. This class is not designed for RPG III programmers who want to learn RPG IV. The Moving from RPG/400 to iSeries and AS/400e RPG IV class (OE85/S6126) is designed to satisfy this need. This course is too basic for experienced RPG III programmers.
Note: The term RPG/400 refers to both System/38 RPG as well as AS/400 RPG/400
This class is a comprehensive exposure to the basic features and functions of RPG IV for Version 5. It does not introduce either information processing or programming in general. Students who are new to programming should attend other classes that are offered by local technical colleges or self study methods. This class is designed to enable a trained programmer to develop and maintain simple RPG IV programs written using the latest features and techniques available in the Version 5 compiler. |
Prerequisites |
Before attending this course, the student should be able to:
- Use a Windows based PC
- Run PC applications using menus, icons, tool bars, etcetera
- Write a simple program in another high level language (for example, COBOL, BASIC or RPG II)
- Use basic OS/400 navigation tools including:
- Use and prompt CL commands
- Use online Help
- Manage output using WRKSPLF and related commands
- Perform basic problem determination using DSPMSG, DSPJOB, and so forth
- Use and display iSeries print queues
- Use basic CL commands such as WRKJOB and DSPMSG.
- Use the Program Development Manager, Source Entry Utility to create and maintain DDS
- Create and maintain physical and logical files
Students must have attended these courses:
- Introduction to iSeries and AS/400e for New Users (OE98/S6108)
- iSeries and AS/400e Application Programming Facilities Workshop (OL49/S6149)
or have equivalent experience. Attendance at CODE/400 - Basic (AS12/S6186) is desirable but not mandatory. Please note that this course requires a background in COBOL or RPG. Experience with Printer and Display files prior to attending this class is beneficial as well. |
Objectives |
After completing this course, you should be able to:
- Write RPG IV version 5 programs to produce reports
- Write simple RPG IV version 5 inquiry programs that interact with displays
- Use the editor to enter and modify source programs compile RPG IV programs
- Review compilation listing, find and correct compilation errors
- Maintain existing applications written in the RPG IV (version 5) language
- Use the Debugger tool to determine the cause of incorrect results
Use many popular RPG IV Built in Functions |