What is the Best IBM i RPG Code Editor in 2021 Most people migrated from SEU to RDi (Rational Developer) But there are other code editor choices out there, so let’s have a look at a few different options: What is the best FREE RPG Code Editor? What is the best PREMIUM RPG Editor? What

Read More

IBM Control Language has remained virtually unchanged over the years. When the IBM AS400 was replaced by the IBM iSeries, fifteen years ago, a few little tweaks were added to CL but it remained remarkably unchanged. If it’s not broken don’t fix it. A few years later the sun set on the iSeries machine and

Read More

IBM Rational Developer for IBM i Trying to format your RPGLE source code and seeing “Formatting Failed: No Model Available”? One of the nicest features of using RDI, compared to the old world of green screen SEU coding, is the ability to automatically format and tidy your program code. Using the FORMAT CODE option in

Read More

My mate Toby sent me this email: I love RDI … But I do come across one issue that I’m sure you can sort out… using SEU if I wanted to find the start of a subroutine, I always made them # something like #Clr or #Bld etc. and there was only 1 place in

Read More

UPDATED – Since I wrote this original blog with the (slightly complex) PHP instructions on how to set ADD TO CART, a new WordPress Plugin was released to do this at the click of a button. Check out the bottom of this page in the section titled “The Easy Way – WordPress Plugin WooCommerce Customizer”

Read More

How to use ‘Conditional Selection in RPGLE and CLLE’ Way back in 2008, I wrote this blog about how to do various condition selection in RPG. So, I suppose it time to modernize those code examples in modern RPGLE Free, tidy it up, and add the same code examples in CLLE. In RPGLE (and in

Read More

What are single page subfiles? A single page subfile is a SCREEN OF DISPLAYED DATA, loaded one page at a time. The displayed data is equal to the maximum number of records that can be displayed at a time. In other words, in a single page subfile, all loaded records are displayed at a time.

Read More

Playing with a RPG Subfile Poking around on the filthiest corners of the IBM i Programmers internet this morning, I stumbled across someone else’s sample subfile template for an RPG program. This is quite an old-style RPG program (it looks like it’s from around 2012) but should still work well today. It looks quite nice,

Read More

Java isn’t free anymore? Last year, Oracle (the owners of Java) announced they were introducing a new chargeable structure to monetize their hugely adopted JAVA programming environment. So, now using Java Software means you may need to pay for a license! However, if you are using IBM software (like RDi) it comes bundled with a

Read More

Built-In Functions in RPGLE – %EOF & %FOUND %EOF(filename) This built-in function is used to detect end-of file, beginning of file, or subfile full conditions while performing a file operation. Rather than using indicators, we should use %EOF to check if the end of file is reached. %EOF returns ‘1‘ if end-of file, beginning of file,

Read More

I was recording a screencast about modernizing some old RPG400 to ILE RPG this morning and had to knock up this little code example showing the difference between legacy RPG400 code and modern RPG ILE code. Note, this is not an example of good code (it’s crappy old RPG code) but it’s just an example

Read More

Let’s look at a quick little example RPG email validation program – SQLRPGLE ILE There are lots of code snippets, example programs, and long waffling discussions in internet land filled with pointy-headed AS400, Series, and IBM i programmer chaps (and chappettes) arguing about the best way to “validate an email address in RPG”. I know

Read More