Tag Archives for " #freeformat "

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

 
Continue reading

Write to joblog messages from RPGLE /FREE – easy code example using Qp0zLprintf

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 – Qp0zLprintf I’ve used this little technique for ever. Simple define a procedure calling the API (in this example I call it “writejoblog”) and then in […]

 
Continue reading

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

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
RPG is free

RPG is free – finally it’s been set free

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

 
Continue reading