Tag Archives for " #FREE "

Jul 12

Write to joblog messages from RPGLE /FREE – a QMHSNDPM code example

AS400 , IBM i , iSeries , Programming , RPG

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

Continue reading
Feb 28

RPG **FREE is finally fully free form

IBM i , Programming , RPG

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

Continue reading
Dec 16

RPG Programming Standards – Code Style Guide for IBM i, iSeries and AS400 Programmers

AS400 , IBM i , iSeries , Programming , Religion , RPG , Software Change Management

The following article was written by “Bryan Meyers” for System i Network web site in 1998 but it’s still as useful today as it was then. “RPG Programming Standards” have been debated since we invented fire and Old Programmers never die, they just get really old grumpy and start drinking Bourbon. The Essential RPG IV […]

Continue reading