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

GPS-Enable the Addresses in Your Database! This was originally in a wonderful article in the now-dead mcpressonline website. I had saved it to my hard-drive of saucy IBM i Programming techniques, so here it is – resurrected from the dead. Original Source – http://www.mcpressonline.com/programming/rpg/gps-enable-the-addresses-in-your-database.html Do you realize how much your business can do with GPS

Read More

We are always trying to find the large libraries on the machine! Hunting down the big libraries in an IBM i system (the artist formerly known as AS/400 or iSeries) is a quest with several critical motives: Diving into the vast ocean of libraries in your IBM i system with a proactive snorkel can unearth

Read More

Use the Retrieve Job Attribute (RTVJOBA) command to snaffle the job’s run type from the attributes. Seems pretty obvious right? One little niggle was that the RTVJOBA passes back a char(1) value for the jobtype where ‘0’ means batch and ‘1’ means interactive. But, I want to be able to neatly compare a logical value

Read More

I was updating a little RPG utility this morning to add some more detail to a spreadsheet it generated. Adding the Library Description will help the non-propeller heads who read this stuff. This is super easy to do with a single line of SQL added to your RPG program. What is this spreadsheet you are

Read More

Developerworks Connections is dead As I was waffling this morning about the sad demise of IBM Developerworks Connections Wiki – here is another excellent article that discusses various extensions to IBM Rational Developer for IBM i – How to Extend RDi (#RDi) So here it is, re-posted before IBM can hide this wonderful source of

Read More