I’m in the middle of refactoring a load of old Projex400 RPG code from RPG3 upto RPG4 and using all the modern BIF’s. It’s a fun thing to do in the evening while I’m hiding in an hotel room in rainy Ohio. But I digress… Inevitably my first compile will fail, and I normally want

Read More

Last night I was asked what the differences between RPG versions were: RPG3 RPG400 RPGLE: IBM have gone out of their way to make the version naming and releases differences so quirky, dirty and convoluted that I’m not even sure they know what to call the current incarnation of this beautiful programming language. Anyhooo, here’s

Read More

So, as part of an IBM-i project to “rebuild a bunch of source libraries on the development machine” I always think about backups before touching things. Not because I have history of deleting things (while in rampant house keeping mode) and then regretting it later… we would never do that right? cough So, since I

Read More

New Improved Projex for AS400, iSeries and IBM i Systems I’ve been working on the new version of PROJEX400 V5.x over the last couple of months. It’s running very well on one of my IBM Servers at home (the other one is sitting there waiting for me to source a copy of IBMi V5R4 from

Read More

CVTRPGSRC – Convert RPG Source This is a standard IBM i command which will ‘Convert RPG Source’ (CVTRPGSRC) from RPG III or RPG/400 source code to ILE RPG source code. If you are running on a system using the old (1980’s format) RPG source code — easily recognisable because it uses the short column widths

Read More

wantI was recently copied on an interoffice email from a fellow RPG chappie (he’s quite sharp actually despite his funny mockney accent).

Aforementioned Mockney-Coder was modifying a recent program, written by a legacy RPG3 programmer (these creatures are very rare to find in the wild and we have placed them on the endangered species list).

Amazingly, there are still a handful of RPG Programmers out there who still write in RPG3. RPG3 was upgraded to RPG400 in 1993(?) so if they havent upgraded to RPG400 yet then the chances of getting up to RPGLE and then to RPG/FREE are slim to none.

But Mockney-Coder is a diligent chap and he mentioned a neat little alternative piece of RPG/FREE code that could be used to replace the large subroutines and array handling code chunks needed to perform the same thing in the old fashioned and clunky column based RPG varieties. After all, Variety is the spice of life…

all names have been removed to protect the innocent 😉

...
Read More

I occasionally get an email from RPG programmers out there in IBMi-Land who have spent the last decade gently plodding along in RPG3 and RPG400 and now face the daunting prospect of having to hone there RPG skills and learn RPG4 (or RPG-LE or /FREE as its also called). So, I’ve quickly cobbled together links

Read More

Here’s the other date conversion – It’s a JBA date (7,0 numeric) to 8 character alpha in JIS format (YYYYMMDD) with no separators. If you want separators in your result then simply expand the result field by 2 characters (to 10) and replace the “0” in the “*jis0” with what ever separator you prefer. Eval

Read More

OVRDBF – Override Database File You can use the Override with Database file (OVRDBF) command to replace the database file named in a CL program or to change certain parameters of the existing database file. It can be overridden at a certain invocation level within the stack or set to be job wide. Secondary over-rides

Read More

IBM i jobs comes in two flavours – INTERACTIVE which means that a user keying into a terminal and using the program interacting with the program code, or BATCH which means this program has been submitted and is expected to execute without any human interaction. The module below, INTERACT, determines whether your program is running

Read More

YOUR IBM System is NOT an AS/400 YOUR IBM System is NOT an iSeries IBM stopped making the old AS400 in the 1990’s The iSeries came next and that ran for over ten years The current machine is an IBM Power System. The grandson of the AS400 YOUR IBM System is an IBM POWER SERVER

Read More

Download and Update WebSphere Development Studio Client WDSC7 for free I’m an IBM i RPG Developer – do I choose SEU, RSE (RDi) or WDSC? If your caught between using SEU (Stoneage Editting Utility) and RSE (Really Stupidly Expensive) for your IBM-i code development environment – you have one other glaringly obvious choice – WDSC

Read More