Yes – RRN is Unique (The answer is YES it’s unique while it’s in use… but it can be NO since a RRN can be RE-USED for a new table Row) IBM i Tables (aka AS400 files) have a unique number assigned to every row in the table. This number is called a Relative Record …

Read More

Taking your Resume from simple text to Infographic As I mentioned in another blog – I use LinkedIn to edit and maintain my resume. It makes the information editing very simple and clean, and also generates a nice-looking basic resume layout. Maybe this layout works fine – but have you ever looked at infographic versions …

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

Mapping Emulator Function Keys with Laptop Touchpads IBM i PF CMD Keys I like big old physical keyboard buttons for my big old physical fingers, and occasional thumb. All IBM-i Programmers will be painfully aware of the constant usage of a range of Function keys ranging from PF/01 through PF/24 (or CMD01-CMD24 in old 1980’s …

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

IBM i ACS (Access Client Solutions) IBM i Access Client Solutions uses the same IBM i host servers as the other IBM i Access Family products and requires the same IBM i Access Family license (XW1) in order to use the 5250 emulation and Data Transfer features. An IBM i Access Family license is required to use …

Read More

To save IBM i spooled files, you have a few options: Using Native Commands: Save All Spooled Files on the System: Change the defaults for the system save using the SAVE menu. Go to GO SAVE and select option 20 to define save system and user data defaults. You can use the Save menu option …

Read More

IBM RDi Rational Developer Ports What TCPIP ports are used by IBM RD/i? I’ve been struggling to get Rational Developer working while remote during the ‘Rona. While I’m working locked in my cellar, candles flickering, dogs growling and rats a scurrying, my laptop is connected with VPN and my guess is that VPN is blocking …

Read More