A tanfolyam célja
Get a comprehensive exposure to the basic features and functions of RPG IV for Version 7. Develop and maintain simple RPG IV programs written using the latest features and techniques available in the Version 7 compiler. The focus is entirely on the latest of the RPG IV for Version 7 compiler and the techniques that it provides.
This is the first in a series of three courses in the IBM i curriculum for programmers who are new to RPG IV. The series includes:
- RPG IV Programming Fundamentals Workshop for IBM i (AS060) / RPG IV Programming Fundamentals Workshop for IBM i - ILO (OV600)
- RPG IV Programming Intermediate Workshop for IBM i (AS070) / RPG IV Programming Intermediate Workshop for IBM i - ILO (OV700)
- RPG IV Programming Advanced Workshop for IBM i (AS100) / RPG IV Programming Advanced Workshop for IBM i - ILO (OV100)
- RPG IV Programming Intermediate Workshop for IBM i (AS070) and RPG IV Programming Advanced Workshop for IBM i (AS100) enhance your skills in developing applications using the RPG IV language after you have completed this course.
Previous techniques and the maintenance of programs written using legacy techniques (for example, maintaining fixed format calculations) are not covered in the classroom. Some additional material and the bibliography provided assist the new RPG IV programmer in the maintenance of legacy applications.
This course does not introduce either information processing or programming in general. Trained programmers learn to develop and maintain simple RPG IV programs written using the latest features and techniques available in the Version 7 compiler. If you are new to programming, you should attend other courses that are offered by local technical colleges or self study methods.
This course provides lectures and hands on labs in a face-to-face classroom setting. This course is also offered in a live virtual classroom environment (ILO - Instructor Led Online) with hands-on labs: RPG IV Programming Fundamentals Workshop for IBM i - ILO (OV600).
- Write simple RPG IV Version 7 programs to produce reports
- Write simple RPG IV Version 7 inquiry programs that interact with displays
- Use the editor to enter and modify source programs and compile RPG IV programs
- Review compilation listing, find, and correct compilation errors
- Maintain existing applications written in the RPG IV (Version 7) language
- Use the debugger tool to determine the cause of incorrect results
- Use many popular RPG IV built-in functions
- This course is intended for programmers who are new to RPG IV. Basic programming experience is required
- You should have attended at least an introductory course to programming, such as one of those available at technical colleges. Concepts of programming are not covered in this course
- This course is intended for experienced programmers who are new to IBM i and new to RPG IV
- Examples of other programming languages are CL, BASIC, COBOL or RPG II
This course is too basic for experienced RPG III programmers. RPG III programmers who want to learn RPG IV should examine the topics covered in AS070 and AS100, then choose the course(s) appropriate for enhancing their RPG IV skills.
- The term RPG/400 refers to both System/38 RPG as well as iSeries (AS/400) RPG/400 (also known as RPG III)
- This course focuses entirely on the features of the RPG IV Version 7 compiler and the techniques that this compiler provides
- Previous techniques and the maintenance of programs written using legacy techniques, such as fixed format calculations, are not covered in the classroom. Some additional material and the bibliography will assist the new RPG IV programmer in the maintenance of legacy applications
- RPG IV introduction
- Coding specifications for RPG IV
- Data representation and definition
- Manipulating data in calculations
- Printing from an RPG IV program
- Using the debugger
- Structured programming and subroutines
- Accessing the DB2 database using RPG IV
- Coding inquiry programs
- What is next?
You should complete:
- Introduction to IBM i for New Users (OE980)
- IBM i Application Programming Facilities Workshop (OL490)
or have equivalent knowledge
You should be able to:
- Use a Windows based PC
- Run PC applications using menus, icons, and tool bars
- Write a simple program in another high level language (for example, COBOL, BASIC or RPG II)
- Use basic IBM i tools, including Control Language (CL) commands and online Help
- Use the work with spool files (WRKSPLF) and related commands to manage output
- Use the work with job (WRKJOB), display message (DSPMSG), and display job (DSPJOB) commands to perform basic problem determination
- Use and display IBM i print queues
- Use Program Development Manager (PDM) / Source Entry Utility (SEU) or Remote Systems Explorer (RSE)/LPEX Editor to create and maintain Data Description Specifications (DDS)
- Create and maintain physical and logical files
Experience with printer and display files is beneficial.