RPG INDICATORS are switches Just like car indicators (or ‘blinkers’ as my American cousins call them) they can be switched *ON or *OFF in a program to indicate the state of a certain piece of logic. In the IBM RPG language, it used to logically flick the switch of a numeric indicator 01-99 to “indicate”

Read More

AKA – writing a new DSPLY opcode that shows more than 52 characters Using the DSPLY opcode to quickly debug a program has long been a staple of us RPG keyboard whackers. The DSPLY operation lets us “display the data in a variable” onto the screen. Everyone uses this quick and dirty technique and everyone

Read More

UPDATE 2021 – Version 1 of ILEditor used to be free! Sadly, Version 2 is out and it’s become a chargeable premium code editor. Priced at $35 USD per month, per forever. 🙁 Free Premium ILE RPG Editor for IBM i – ILEDITOR I’ve been waiting for a simple free-format RPG editor for the longest

Read More

Debugging RPG Webservices can be a pain in the proverbial; finding the IBM i background jobs that are running the REST Service, starting job service mode to get at the program variables and then discovering that the program was not compiled with DBGVIEW(*SOURCE) so you cant see the variables anyway. #aaaargh Debugging IBM i Webservices

Read More

+Happy New Year 2018. One of my new years resolutions was to write cleaner code, and in the spirit of out with the old and in with the new… I already use the RPG COPYRIGHT statement and the CL COPYRIGHT STATEMENT to store the copyright message and (more importantly to me) the Version or Release number

Read More

I wanted a handy little RPG code snippet to return the day name for a date. My requirement was to  feed in a date like “Nov 30 2017” and it to tell me that its ‘Thursday’. Google to the rescue, I found a nice little article by RAFAEL VICTORIA-PEREIRA (Thankyou Sir!) which has a code sample

Read More

Download RDi Second Cup of Coffee – Check. Consumed Doughnut – Check. Removed crumbs and sticky remnants of doughnut from laptop keyboard – Check. And Face – Check. Calendar confirms that todays the day IBM release #IBMi RDi 9.6 – Check. Lets got and grab it – Check. 🙂 I’ve been running RDi 9.5.1.2 for

Read More

I was having a mini-rant earlier about the problems with the old 24×80 screen size. Basically, the newer wider 27×132 is much nicer ( we all know that ) but older 24×80 5250 sessions will get very upset when they try to display a menu or screen that is designed at the 132 characters wide

Read More

Internet fact #173 – If you make RPGLE lowercase it looks a lot prettier! If you’ve ever read any of my many waffling techno-blogs about programming with the RPG language you will know that I have a bit of a love/hate relationship IBM’s Rational Developer code editor. But, just sometimes it does really small, but

Read More

When I was a lad – you read the newspaper for news, you talked to neighbors to network and find the local gossip, you watched TV or went to the Cinema for movies. Nowadays, it’s all done on computers and it’s us programmers that create, nurse and stroke this things called computer programs. How you

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

Want to Scan Replace in RPG? In the middle of this RPG program, I want to reformat and replace some values in a big long address field. But for the life of me… I can’t remember how to use the SCANREPLACE built in function in RPG. #Dingbat /me memory circuits need a service methinks. So, like

Read More