RPG Language Examples from the Real World. RPG IV Examples Dedicated to the RPG professionals all over the world. The days of programs with 8000 lines of code are gone forever. This chapter discusses the fixed-logic cycle of RPG programs. These examples can be used as reference when you design and create your database system. Intro to Embedded SQL Programming for ILE RPG Developers. RPG Template support 9. Event Title FSQLVIEW IFE DISK. In addition of the RPG programs on the ASNAMRS62 library, each example app consist of a web site and an accompanying document. For each example, there will be two subfolders.
AS/4. 00 Programming I RPGBeginner/Intermediate. This course teaches you how to use PDM, SEU and RLU to create RPG batch program on i. Series and AS/4. 00. You will learn how to use indicators, variables, constant, basic RPG operation codes, debug tools, tables and array to create the RPG program. You will also learn about the RPG fixed logic, primary file and full procedure file processing. RPG control break logic is also introduced in this training.
Embedding SQL in /free. To embed SQL into an RPG program. I'd really like to be able to pass a cursor between programs and to be able to retrieve data from a cursor by referencing field name or ordinal position.
This chapter introduces you to RPG batch programming on i. Series and AS/4. 00.
- CLI Programs in RPG Here are some CLI examples in RPG. These educational examples show you how to use several different CLI functions in the RPG language. Include file This include file contains the definitions for.
- RPG Free Format RPG Free Code Examples and Other ISeries (AS/400) Stuff. Disclaimer: Use code samples at your own risk -- no guarantees. Author is not claiming to be an 'expert'. This code is intended for educational purposes.
- Example: SQL Statements in RPG for AS/400 Programs. Sample RPG for AS/400 Program Using SQL Statements.
The Basics of ILE Service Programs. Have you ever used two dimensional arrays in your RPG programs? Or used the new template support to create your own. We'll give you a basic introduction to all of these topics and show you practical examples of their usage.
You will learn some fundamental programming techniques, specifications of modern RPG programming and its development environment. Exercises are available at the end of the chapter. This chapter teaches you how to create RPG source code. In this chapter, you will learn how to use PDM and SEU, how to create RPG file and calculation specifications and how to create RPG output specifications. Exercises are available at the end of the chapter. This chapter outlines the procedures how to compile RPG source code, how to debug and correct syntax error and how to run a compiled RPG program. Exercises are available at the end of the chapter.
This chapter discusses the fixed- logic cycle of RPG programs. In this chapter, you will learn what is the RPG program logic, what is the basic program logic flow and what is the control break. More operation codes are introduced. Exercises are available at the end of the chapter.
This chapter discusses more options to process files using RPG program. In this chapter, you will learn about full procedure file, sequential file and indexed file. You will also learn the techniques how to debug your program using the debug tool - IDS. Exercises are available at the end of the chapter.
This chapter discusses the tables, arrays and more operation codes. In this chapter, you will learn what are tables and arrays in RPG programs and how to create table and arrays. More operation codes are introduced.
Exercises are available at the end of the chapter. This chapter introduces you to the Utility program - Report Layout Utility (RLU).
In this chapter, you will learn how to use RLU to create a printer file, how to edit and modify a printer file, and how to create a RPG program with printer file. Exercises are available at the end of the chapter. There are some multiple choice or true or false questions about the topics covered from chapter 1 through chapter 7 in AS/4. RPG Batch Programming for i. Series and AS/4. 00.
The test helps you understand and review the training. You can take it again after reviewing the training materials. This section lists seven RPG program sample source codes. They are real production programs and you can use them as your reference when creating RPG programs.
This section lists nine DDS source codes as example including physical files, logical files and printer files. These examples can be used as reference when you design and create your database system. Some basic computer experience is recommended.
Multi- media CD or Internet Web Based. English. Pentium 2. MHZ or above, 3. 2 MB RAM with 1. X CD- ROM. Window 9.