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

August 1, 2012 | Volume 11 Issue 14


TOP STORY: Practical RPG: Queuing, Part II: Keyed Data Queues
FEATURED ARTICLE: Simon's Solutions: Which Subsystem Are You In?
NEWS HIGHLIGHT:  New Grid Template and PDF Support Headline WebSmart ILE 9.2
WHITE PAPER: IBM i Scheduling Survival Guide
EVENT: Web Services and XML for RPGers 
Manage Subscription | Contact Us


Feature Article - Programming
Practical RPG: Queuing, Part II: Keyed Data Queues

While using a queue can be as simple as write and read, sometimes you need a little extra, and that's where keyed data queues come in.

joe plutaWritten by Joe Pluta

On the IBM i, it's easy to create a physical file that has no keys and write to and read from that file (it's a little harder in the non-IBM i SQL world, but it can be done). A simple data queue is like an unkeyed physical file: you add records to the file and then read them off in sequential order. You can jump around by relative record number, but we really don't use that technique a lot these days, at least not in production programs. Instead, we key our files and use those keys to access the data.


Feature Article - Programming
Simon's Solutions: Which Subsystem Are You In?

Retrieve the subsystem your job is currently in via the undocumented QMNSBS API.

junlei liWritten by Junlei Li

This article is the first of a series of articles to memorialize Simon Coulter, an outstanding IBM i expert who contributed so much to the prosperity of the IBM i platform. Loved by many developers from the IBM i community, he was one of the giants in the industry, on whose shoulders others could stand and reach for new heights. I deeply appreciate Gwen Hanna, Simon's partner, for providing the biography of Simon at the end of this article.


In the News


Support MC Press - Visit our Sponsors

Forums Sponsor



Search Sponsor