Tag Archives for " #ILE "

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
Jun 30

How to use named indicators in RPG

IBM i , Programming , RPG

When is an RPG indicator more than just a number? We can use a named data structure to overlay over the top of all the indicators used in the program. Using this technique, we can define a sensible name for the each of the memory spaces associated with the indicators. For example — when the user […]

Continue reading
Jun 25

What is RPG OA?

IBM i , Programming , Webservice

I was talking about RPG OA today. If you’re an IBM i techie, then you will know about OA already. You probably understand its power and potential in our IBM-i world. If youre a bit more old school, you’ve been churning out column based code for years, or you are living under a rock in […]

Continue reading
1 2 3