Site icon AS400 ISeries

Simple RPGLE Program (Hello World)

First RPGLE Program

Create a member “helloworld” in your working source physical file. Give the type of this member as “RPGLE”. Now type the following code in the source member.

HELLO WORLD
Advertisements

Now compile the module. Create the program and call it, It Will display the phrase Hello World.

That is a basic RPGLE program but you learn several things as discussed below.

Exit mobile version