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

Now that’s a mouthful! So, I’ve been asked to install the latest July 2019 version of Lansa Axes (v4.2.0) for a client. Axes is a web application, running on your IBM i Server, which will replace old traditional green-screen 5250 terminal screens like this: to this: Remove any previous versions of LANSA AXES GO LICPGM

Read More

So, I just did an upgrade of the BCD Software GUI Client (now owned by Fresche Legacy by the way) for a client. This upgraded their older version of Presto to PRESTO 8.1 Server. This also comes with a new Presto Client and Screen Designer adding some nice new tweaks. Compulsive Library Naming Tendencies The

Read More

If there was a quick and easy solution to “how to quickly become a productive RPG IV and ILE programmer” then all of us old AS400, iSeries and IBM I developers would have gobbled up that solution in double quick time. But Wait. There might just be Ne. Drinking Tea. If you have read any

Read More

Twenty years ago… I was typing on a dumb terminal, connected to a great big beige computer called IBM AS/400 with a thick grey Twinax cable. Screens were green on black, text only — or sometimes orange on black if you were posh. The internet was this thing we used to send emails (if you knew

Read More

Modernizing RPG Programs – Learn the RPG History first I had email email from an old work colleague this morning. He was a windows programmer, with limited exposure to RPG, but works in a company that is driven by a huge, old, complex RPG3 application that has changed little over the last decade. He is

Read More

RPG CODE EXAMPLE – “Write to joblog” in Free Format RPGLE Write to the IBM i joblog is a neat way of recording details of any running jobs information. This example lets us send messages from inside a running RPG program. It’s simple using one of IBM’s API’s – QMHSNDPM – and this source code

Read More

RPG CODE EXAMPLE – “Write to joblog” in RPG with Qp0zLprintf Write to joblog lets us send messages from inside a running RPG program. It’s simple using one of IBM’s API’s – Qp0zLprintf Qp0zLprintf() — Print Formatted Job Log DataThe Qp0zLprintf () function prints user data specified by format-string as an information message type to the

Read More

I found this excellent article by Birgitta Hauser, Software and Database Engineer, Toolmaker Advanced Efficiency GmbH. It covers the basic concepts you will need to consider if you want to “Replace IBM i Native File Access with SQL” Just in case it vanishes I’m going to reproduce it here: If you are considering SQL and

Read More

Indicators Suck! So, lets look at two simple alternatives to make your RPG code more readable and easier to understand and modify. (1) RPG Named Indicators When is an RPG indicator more than just a number? We can use a named data structure to overlay over the top of all the indicators used in the program.

Read More

BCD Presto – Software Green Screen Modernization aka – AS400 iSeries 5250 Screen to Web Conversions BCD Presto is probably my favourite screen modernization tool. It has a very simple and clean screen editor. It’s reliable, fast and intuitive. Most importantly, when I have those “what is the best way to do this?” questions the

Read More

Time to install Presto AS400 iSeries 5250 to Web modernizer Responsive Mobile It’s now easier for IBM i programmers to transform their green screens into web GUIs that are optimized for both desktop and mobile with Presto’s new responsive design capabilities. Presto version 7 incorporates Bootstrap, an open source framework that enables the design of

Read More