THE AID BYTE IS A SINGLE CHARACTER FIELD THAT CONTAINS A HEX CODE THAT WILL TELL YOU EXACTLY WHAT THE USER PRESSED ON THE SCREEN – IE: ENTER OR PF3 OR PF12 OR ‘WHATEVER’ The File Information Data Structure is has all kinds of very cool information stored in it. It makes any programmers life

Read More

Modernizing AS400 aka WEB-ENABLING AS400 and iSeries Converting an old green screen application to run in a website is as easy as typing an email or uploading a photo to facebook. If you are a modern IBM i Software developer the chances are, your system has lots of old AS400 and iSeries that code that

Read More

Since the introduction of the latest Service Pack for IBM i V7 — cunningly entitled ‘Technology Release 7.1 — RPG programmers can now finally eschew the old fixed column coding and roam around a modern free format language. RPG is free. Finally. Lovely jubbly. Long overdue and in the words of Jon Paris (RPG Guru

Read More

ILE RPG (sometimes called RPG4) was the biggest change to the RPG programming language in recent years. What are the advantages of ILE in RPG? In RPG it is one step compilation (we will get *PGM object) while in ILE-RPG it is two step compilation (we have to create a *MODULE and then bind that

Read More

AS400 needs to be modernized …seems to be the chant of the moment. But I put it to you that it is not the Computer System that needs modernizing: It is the applications that run on the system… and more importantly the *expectations* of the users and developers that need modernizing. Most IBM midrange systems

Read More

IBM RPG is a lovely language. RPGLE (as the latest version is known) has got some heritage. Some might say its an old language, but I say it’s kept young by its constantly evolving syntax! Testing numeric values has evolved over years, lets look at two examples. The current version of RPGLE (IBM i V7R1 at

Read More

Both commands will suck in program source code from a copybook – typically stored in QCPYLESRC. But there is one big difference between how the compile directives work in RPGLE and SQLRPGLE programs : in RPG ILE programs the /copy directive is expanded by sql preprocessor, but /include does not get expanded by SQLRPGLE code.

Read More

RPG4 (or RPGLE as its sometimes known) has a neat and little used header specification command called ‘COPYRIGHT’ Presumably, this h-spec function was originally implemented by IBM so that software houses can embed their object copyright within the program source. But us RPG developers are a resourceful lot, and the H SPEC COPYRIGHT statement is

Read More

*RPG – NO, RPG Developer doesnt mean that I write Role Playing Games, primarily aimed at men in basements pretending they are fit young elven women and running around casting spells 😉 So, as an RPG* Developer I am definitely biased towards IBM’s best and most versatile language. IBM RPG has evolved massively from the

Read More

How to view big fat fields using the RPG Debugger In my on-going mission to to prove that you can teach an old dog new tricks… I learned a neat one today. I was trying to debug an IBMi Web Interface program (IBM RPG/FreeFormat Language) that was blowing the 64k field size limit when reading

Read More

RPG Programming Standards? “RPG Programming Standards” have been debated since the invention of the wheel. With an entire generation of RPG programmers evolving from the early days of System/3x column based RPG code to modern free flowing web format code the adoption of a simple clean programming layout standard has been a mythical quest. Old

Read More

Send Email with a simple IBM Command from Power System, iSeries and AS400 Life as a IBM i Software Developer is fun, but life as an AS400 software maintenance programmer can be a bit grim. I seem to spend the bulk of my time maintaining older applications – archaic code monstrosities that started life in

Read More