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

Hunting down QTEMP Fat Cats As an IBM i propeller-head you are most likely familiar with the QTEMP library. Right? You already know that QTEMP isn’t a standard library – it’s unlike all the other libraries (called ‘schemas’ in SQL speak) because it’s yours and yours only: Every job has its own unique QTEMP library

Read More

UNICOM TURNOVER – Software Change Management System Problem – TURNOVER uses an uppercase 10 character password by default If you are thinking of changing your USRPRF(TURNOVER) password to anything – including a lowercase letter – then you just might want to read this! “Why should I read this and what is this bloke waffling about?”

Read More

TURNOVER V101 Documentation After recently upgrading to the latest fixpack for TURNOVER V101, I have all the latest documenation sitting in a folder on my desktop. “Oh what an exciting life you lead Mr Litten” I can hear you think You. Thinking. But despite this astounding level of excitement – it’s probably worth sharing these

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

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

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

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

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