What is VISUAL STUDIO CODE? Microsoft Visual Studio Code, “a free-editor that helps the programmer write code, helps in debugging and corrects the code using the intelli-sense method”: Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with

Read More

How to delete first few rows from a file with IBM i SQL This morning I was working with a flatfile import from IFS into a DB2 database file. This should have been straight forward but the flat file contained several rows of crappy data at the start of the file. *ugh* Since I am

Read More

Every propeller head takes some kind of perverse joy from wiping and reinstalling their Windows Machine. I know I do. After a year of various software installs, un-installs, re-installs, tweaks, hacks, dicking around (that’s a technical term) my Windows machine starts to get twitchy and a little punch drunk. It’s time for a fresh install and

Read More

Rules for good coding style I started this with the idea of writing a blog about “Rules for good RPG coding style”, I was discussing this with an old friend and colleague yesterday. He moved away from the AS400 machine, just as it was being replaced with the old iSeries machine. He’s now spent nearly

Read More

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