AS400 DLS vs. IBM i IFS Do you work at a company that has people using the AS400 DLS? Do you work at a company with techies talking about the iSeries DLS? Do you work at a company that uses the IFS and the DLS? Are you confused about if your business server is an

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

Download Install or Upgrade CNX Valence Fresh in my email this morning, I had a notice from the propellor heads at CNX that a new fixpack was released. This includes a number of enhancements that I have requested so I’m intrigued to see it in action. Download the latest Valence 6 maintenance build Valence 6 build

Read More

WRKACTJOB is DSPACTJOB on steroids Every process that runs on an IBM i System is a #JOB. Using the WRKACTJOB command is pretty intuitive, since you are working with all the active jobs on the system you are literally asking your IBM i to show you all the active processes and allow you to view,

Read More

No – RRN is not unique (unless we force it to be and don’t care if disk is wasted) IBM i Tables (aka AS400 files) have a unique number assigned to every row in the table. This number is called a Relative Record Number, or RRN. When a row is deleted the RRN is marked

Read More

What happens when your TURNOVER Promotion form runs? A TURNOVER® for iSeries v100 form runs in several phases. Pre-run Processing: Phase I All preliminary processing is done including pre-run exits, pre-run commands, creation of working libraries, and so on. Promotion Processing: Phase II Source is copied, objects created or moved, folder objects promoted, data copied,

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

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

What is a 5250 Terminal Emulator? In a previous blog about 5250 Emulators: The IBM i System (aka i5 aka iSeries aka AS/400) uses something called 5250 to stream its data to a terminal, often called a green screen. You’ve seen these clunky old terminals in black and white sci-fi movies – well we still

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

Do Loops in RPG Whenever I find myself editing some old RPG3 or RPG400 code, I try to spend a coffee* cleaning the code up to a more modern and readable form. * A ‘coffee’ is the amount of time it takes to drink a regular cup of brew. This is slightly shorter than the

Read More