RPG/400, RPG-ILE Tutorial
RPG 400, ILE RPG, RPG IV, RPG Tutorial (RPGLE Tutorial)
ILE RPG consists of two words "RPG" with "ILE", which again are abbreviations of Report Program Generation and Integrated Language Environment. This means that you can use any language of your choice to create a program. That is, you can create a java program in AS400 machine and integrate it with an RPGLE program. In this tutorial we will focus mainly on the basic RPGILE or RPG IV concepts. You might find that in this ILE RPG Tutorial, ILE RPG and RPGLE have been used interchangeabley. ILE RPG is sometimes referenced as RPG 400 also (May be RPG 400 refers to RPG III or any earlier version of RPG language).
We will first learn the basics of RPGLE programs the variables, conditional execution of statements, looping through statements and arrays in RPGLE. After this we will move to the intricacies of the programs and learn how to process a physical file and a display file. Finally we will create an interactive program in RPGLE which will take user input and read/update the database file.
Prerequisite:-
You should have access to an AS400 machine where you can try the RPGLE examples given in the tutorial. Also it is assumed that you are comfortable with the SEU and can create Physical Files and Display Files on your own. Apart from this basic knowledge of AS400 system will be of extreme help to you.
- 30226 reads
