Source code line number sequencing in Rational Developer for IBM i Updating a source member and adding a bunch of lines will re-sequence the line numbers by default. Turning re-sequencing *OFF lets us clearly see added, deleted or changed blocks of code. We can set this on the exit line of SEU and also if

Read More

IBM Rational Developer for i Service Pack V9.5.1.1 is now available This fixpack includes fixes, enhancements and the long awaited Refactoring capability: letting us Rename Declarations from Column based to free format. If you are an RDi User — and if you are an RPG programmer then you will be — use the IBM Installation

Read More

A Modern RPG Programmer writes RPGLE, RPG4, RPG400, RPG3, RPG2 programs I suppose many of them also enjoy Role Playing Games but that is neither here nor there. RPG stands for Report Program Generator. It is an IBM programming language which had evolved from the early day of punch cards and gentlemen who programmed with

Read More

I’m not sure if upgrading is the right word, perhaps switching or converting or even “just learning a new technique” would be better? AS400 Modernization Modernizing legacy applications written on legacy computers like the AS400, or the older iSeries machines can seem like a daunting task Either way, I didnt write this document but still

Read More

How does SQLRPGLE USRPRF(OWNER) work with RPGLE Programs? If you compile IBM i programs using USRPRF(*OWNER) then they will adopt the security setting for the program owner at runtime. #sometimes If you are calling an IBM i SQL program, that has been compiled with USRPRF(*OWNER) you may find that it does NOT adopt the security

Read More

RPG PROGRAM USER(*OWNER) – Adopts the object owner level of Authority Most IBM i Programmers are aware of the USER(*OWNER) compile setting — anyone calling this program will adopt the authority level of the program. So if a program is compiled by user QSECOFR and USER(*OWNER) then anyone calling that program will automatically be elevated

Read More

Ever had to populate the *LDA in correct layout for JBA ERP Modules (aka GEAC aka Infor System21? Here is a quick and easy JBA System21 *LDA – RPG Example written in RPGLE **FREE format. Here is a simple RPGLE program to setup the *LDA priot to running a few little INFOR SYSTEM21 extraction routines: WEBSETLDA

Read More

IBM RDi is a great IDE for IBM i Programmers writing source code in RPG, RPGLE or CL. But, setting up the editors RDi library list is not that obvious acronym alert — (1) RDi is IBM’s Rational Developer for IBM i and (2) IDE is Integrated Development Environment – just a poncy way of

Read More

What is a single page subfile? A single page subfile is a SCREEN OF DISPLAYED DATA, loaded one page at a time. The displayed data is the number of records that are loaded and displayed at a time. In other words, in a single page subfile, all loaded records are displayed at a time. We

Read More

Let’s look at a quick little example RPG email validation program – SQLRPGLE ILE There are lots of code snippets, example programs, and long waffling discussions in internet land filled with pointy-headed AS400, Series, and IBM i programmer chaps (and chappettes) arguing about the best way to “validate an email address in RPG”. I know

Read More

RPG EXAMPLE to read NUMERIC from ALPHAMERIC AKA: how to select only the number from an address in a field, or file data A little while ago, I wanted to extract out the numerics from a string of data: For example (a) if I feed in a phone number like “(540)-123 – 1234” but I just

Read More

In the 1980’s and 1990’S the source code editor was a text based green screen tool (PDM/SEU) which is still in use at AHP today. This text-based editor does not syntax check any of the new programming languages nor does it allow more than 20 lines of source code to be displayed at any time.

Read More