Category: <span>FAQs and Tips</span>

ILE RPG now supports “fully-free” RPG, which allows RPG code anywhere on a source line, from column 1 to the end of the line. The first line of any source file…

I’ve often postulated that few computer languages are changing as fast as RPG. Although it originated more than 50 years ago, RPG has evolved from a punch card heritage to…

The following definitions define named constants that map to some commonly used %Status codes. Including this code in an RPG program allows you to check for errors using meaningful names instead of the actual code. For example you can code

If %Status = Recordlocked;

instead of

If %Status = 01218;