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

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

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

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 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

This morning my nerdish IBM-i Chum Toby, pinged me a whatsapp challenge to write a little RPG code snippet to “extract invoice numbers” from a random string of data. So…. if you had a string ‘INV#10563592 DATED 12/17/19 SO#286045 NOT GOING’ and you knew that this is a shitty text file way of referencing an

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

I was discussing the benefits of RDi with a colleague this morning (I’m a bit of a Rational Developer fanboy) because he is trying to justify the huge annual cost of the tool with The Management: nearly $1000 per year per person! A price tag that is #bloodypreposterous. But, I will rant about that in

Read More

This is purely a little memory jogger for me. Nothing to read here move along move along….. I just upgraded an old program that had a piece of code doing this: C  DS#POS Div 256 POSLIN C         Mvr POSCOL This old RPG400 code is reading the cursor position from the display

Read More

Using SQLRPGLE to Validate email addresses in IBM i Following on from my previous blog (basic email validation) I decided that it would much nicer to (a) have the regex stored in a data area so that we can easily play with it to try different validation scenarios and (b) lets have a shot at

Read More