Tag Archives for " #modernization "

Aug 08

Green Screen to Web Application in 5 minutes (aka how the AS400 got on the World Wide Web with IBM i)

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

Twenty years ago… I was typing on a dumb terminal, connected to a great big beige computer called IBM AS/400 with a thick grey Twinax cable. Screens were green on black, text only — or sometimes orange on black if you were posh. The internet was this thing we used to send emails (if you knew […]

Continue reading
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
1 2 3 4