Tag Archives for " #RPG400 "

Sep 13

RPG Evolution, Modernization and Refactoring – Step 4 of 4 – Setting RPG Free

IBM i , Programming , RPG , Webservice

Setting RPG Free Convert RPG from Column to free format So, if we take the code and actually upgrade it to be the current style of RPG/Free we can see all the mainline specs are now written in freeform code style and it looks yummy: h datfmt(*iso) timfmt(*iso) option(*nodebugio) debug //——————————————————————- // system name: fix […]

More Waffle
Sep 13

RPG Evolution, Modernization and Refactoring – Step 3 of 4 – Paroling RPG4

IBM i , Programming , RPG , Webservice

Upgrade RPG4 to use free-friendly code standards If we were using Rational Developer/i software we could do this automatically. But as a manual process its simple, if a little tedious. Basically when we are going to skim through the code and replace all indicators with the modern and preferred %FOUND BIF technique: H debug ***************************************************************** […]

More Waffle
Jan 08

Advantages of RPGLE ILE language over RPG400 and RPG3


Found some more old documents (I didnt write them so dont shoot the poor AS400 programming messenger) that I’ve decided to move to the forum rather than leave in the dusty corners of my hard drive…..


1. Advantages of  ILE:


RPG IV is more readable

Allows for greater application modularity with static binding which means there are fewer external calls.

Enhances programmer productivity by allowing greater code re use

Enhances mixed language support by allowing the binding ILE languages  into a single program

Builds a foundation for  the future by moving closer to object oriented design , modular programming and code reuse


Enhancements in RPGIV


Mixed Case entry permitted

Compiler is not case sensitive 

Compiler can translate mixed case to upper case.

Character names allowed

Full DDS length supported

More Waffle