Category: IBM i
-
Reading Stream Files in RPG
While working on a task to parse IBM MQ logs for a web front end, I needed to solve a couple of problems: Wrangle the log files into something far more manageable than their raw state; single entries span multiple lines and there is a lot of whitespace. Parse out the relevant details from each…