MC Systems Insight
MC Power Technology Manager
MC RPG Developer
MC Power Developer
MC TNT Tips 'n Techniques
MC AIX Expert
MC Linux Expert
MC Mobile on Power
This Week @ the MC Press Bookstore

September 3, 2008 | Vol 7 Issue 17


In This Issue:

Feature Article - Programming
Keep Those Batch Jobs Running (Or How to Enjoy Your Off Time)

With the QUSLJOB API and my MONBCH program working for you, you can relax when you're away from the office.

bruce_vining.jpgBy Bruce Vining

My recent series of articles prompted the following note from reader Jerry G.:


"I enjoy reading your articles as a learning exercise.... Would you consider demonstrating an API example to monitor jobs [in order to] notify [someone of] a troubled state like MSGW?"

I think this is an excellent idea! In this article, we'll look at how to use the List Job (QUSLJOB) API to monitor batch jobs and, if any job is found to be waiting on a message, to then send a generic message to a *DTAQ, identifying the job that is waiting for a reply.


Feature Article - Programming
Emulate Object-Oriented Programming in ILE RPG

What do you get when you combine nested data structures with prototyped subprocedures?

mike_faust.jpgBy Mike Faust

According to Wikipedia, although the concepts behind object-oriented (OO) programming have been around since the 1960s, they weren't part of commonly used languages until the 1990s. At its most basic level, OO programming allows a programmer to work with objects in a hierarchical structure, so anything associated with a given "object" can be found within that object's structure. This article explores how to combine nested qualified data structures with prototyped subprocedures to achieve OO-like functionality in ILE RPG.


Support MC Press - Visit Our Sponsors


 Popular Forums



   Search Sponsor


 Popular Searches