ILE

Programming with RPG on the IBMi

RPG and the AS/400 platform have a long history.

When the System/3 was introduced in the 1970s, RPG was first released , the language evolved and RPG II use of the logic cycle was many programmers first experience of pullng hair out while staring at a green screen. RPG III was released with the System/38, which included the ability to work with a fully integrated database. In 1994, RPG IV was released, with it's ILE abilities. Now referred to as RPGLE the language is evolving with every release of i5/OS (the IBM operating system).

The ILE version of the system i programming language allows you to write each program in a series of modules and compile each one seperately. Of course, each of these mdules can also be written in different languages. Anthing from CL (java, control language

In this little series of articles I'm are going to try and cover most aspects of simple RPGLE programming syntax, module design and procedural principles. Everything from the Logic Cycle through to modularized techniques.

Due to its evolving naure RPG is frequently described as RPG2, RPG3, RPG400 and most recently RPGLE or RPGILE. Confused? Well dont worry, spend a lunchtime reading these articles and it will all hopefully become clear.

We will go through the RPGLE variables, conditional execution, subroutines and the input/process/output routines. After this we can move into the more complex areas of posting data to the AS400 database.

The final objective will be lead you through a simple RPG program taking screen input and veriying and updating an AS400 database.

Interesting RPG ILE Code example

Submitted by NickLitten on Sun, 06/01/2008 - 13:03

Hunting around to find a some information about wether I could do any cunning wizardy %SUBST on numeric fields,  I stumbled across this text document. It's just for my reference but if you find it useful then... Huzzah!

 

ILE RPG 1996 & Beyond: Part 1

Beginning with V3R1, IBM has delivered a new generation of RPG for AS/400 programmers-ILE RPG. The ILE RPG language as delivered with V3R1 is just the beginning. As a member of the RPG development team in IBM's Toronto laboratory, I'm excited about the new things we're planning for 1996 and beyond. This article is the first in a series that provides you with a hands-on look at new features.

Before I tell you about our plans, I'd like you to prioritize the requirements for enhancements to RPG

Some of them may be unfamiliar to you, but these are many of the enhancements that users have requested for ILE RPG. If there is one you don't understand, skip it for now. I'll explain each of these requirements in detail later on in this series of articles.

Subscribe to RSS - ILE

Some Bloke

Projex dot com is the cyber home of Nick Litten an AS400 IBMi developer, RPG programmer, SOA code enthusiast, website tinkerer, information technology evangelist, early adopter, proponent of open source and hopeless technology addict...

Nick Litten looking dazed while refactoring some RPG2 code to kick it into this century

Born and raised in Rainy England, now enjoying programming in the sunshine of Southern USA. Founder of SOFTWARE PROJEX.

Clustermap

Locations of visitors to this page

glqxz9283 sfy39587stf02 mnesdcuix8
sfy39587stf03
sfy39587stf04