RPG Debug – Display Pointer Data

Pointing at Pointers and laughing aka “How to Display Pointer Data” RPG has all kinds of different data types. In the olden days of RPG, we only really thought in terms of character variables and numeric variables (signed numeric and packed numeric).  But as the language has advanced and adopted new technologies, methods of talking […]

Continue reading

AS400 Modernization starts with Modernizing RPG Applications

RPG Modernization

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 […]

Continue reading

What is Prince2 and how can we use it in IBM i Projects?

Prince2 2017 Primer

PRINCE stands for PROjects IN Controlled Environments. Prince2 is a structured method for effective project management. It is a process-based approach for project management providing an easily tailored and scalable method the management of all types of projects. The method is the de-facto standard for project management in the UK and is practiced worldwide. A […]

Continue reading

RPG Evolution, Modernization and Refactoring – Step 5 of 4 – RPG FREE FORMAT 2017

Convert it to RPG FREE FORMAT — RPG Evolution 2017 style That’s right — this is step five of four. Much like RPG evolution, the modern day free-form RPG code is way more advanced than earlier neanderthal column based RPG. The original code blog was way back in 2009, but RPG has quietly been improving all […]

Continue reading

Write to joblog messages from RPGLE /FREE – a QMHSNDPM code example

RPG CODE EXAMPLE – “Write to joblog” in RPG4 /FREE Write to joblog lets us send messages from inside a running RPG program. It’s simple using one of IBM’s API’s – QMHSNDPM RPGLE Code Example // SNDMSGLOG1.RPGLE // Simple Program to send message to joblog using QMHSNDPM // Author: nick@nicklitten.com ctl-opt dftactgrp(*no) actgrp(‘NICKLITTEN’) option(*nodebugio:*srcstmt:*nounref) alwnull(*inputonly) […]

Continue reading

Write to joblog messages from RPGLE /FREE – easy code example using Qp0zLprintf

RPG CODE EXAMPLE – “Write to joblog” in RPG4 /FREE Write to joblog lets us send messages from inside a running RPG program. It’s simple using one of IBM’s API’s – Qp0zLprintf I’ve used this little technique for ever. Simple define a procedure calling the API (in this example I call it “writejoblog”) and then in […]

Continue reading

AS400 Report Designer for grey haired old farts like me

another snippet from an old document I found in a dim dark and hazy corner of an even older HDD… rather than let it disintegrate, here it is migrating to the web just in the (extreme) off chance that it may be useful to someone out there. Hey.. if YOU are reading this then its dont its job  😉

RLU is used to design a report image, print prototype reports, create printer files, and generate DDS from which the report will be created. A prototype report is a printed copy of the report image that looks like the report that an application program will generate.

The Design Report display is the main screen from which you edit the report. From this display you can use function keys to go to other displays where you can add information at the file, record and field levels. You can also go to the Change Session Defaults display where you can control the characteristics of your edit session.

Continue reading

Replace IBM i Native File Access with SQL

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 […]

Continue reading
1 2 3 19