Tag Archives for " #FREE "

Jan 29

Free RPG Editor – ILEDITOR could be called RDi Lite ;)

I’ve been waiting for a simple free-format RPG editor for the longest time. Opensource ILEditor delivers. It’s free, open source, actively maintained and growing in support. It’s quick and simple to use, and I can already see that as it’s popularity grows new functions will be easy to add. #nice The Author is Liam Allen […]

More Waffle
Aug 17

Scan Replace in RPGLE and SQLRPGLE

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 cant remember how to use the SCANREPLACE built in function in RPG. #Dingbat /me memory circuits need a service methinks. So, like all programmers, I wonder off to […]

More Waffle
Jul 30

What’s the best Free RPG Editor?

If you are reading this blog then chances are you are (a) an RPG Programmer and (b) using SEU to edit your code and (c) you are frustrated that SEU wont syntax check new RPG anymore! It’s time to leap into an RPG EDITOR or be pushed… RDi is bloody good but it’s also a very expensive code […]

More Waffle
Jul 12

Dirty RPG programmers need to write Clean RPG Code

This morning I was revisiting a program that I wrote last year and looking at my code thinking “Why the hell did I write it like that? #Ugly”. RPG code evolves and lots of code evolution starts in one direction and then branches off, drunkenly in another direction. This means that code can evolve to […]

More Waffle
Jul 12

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

More Waffle
Jun 02

RPG Example reading JSON using YAJL from IFS

Decode JSON webservice reply data (already stored in IFS) using YAJL This reads the JSON from the IFS – decodes it using Y.A.J.L and reports on time taken to perform decode. Writing an RPG program to read JSON using YAJL is actually pretty straightforward — I hope this code example helps! In this case the […]

More Waffle
Feb 28

RPG **FREE is finally fully free form

Modern ILE RPG now (finally) supports “fully-free” RPG Source code This means, we can write RPG code from column 1 to the end of the line — just like other languages. No more jumping to character 10 to get passed the old reserved (H,F,D,I,C,O) specification column. You must code **FREE in column 1 of the […]

More Waffle