Open Access Handles The Queue
October 9, 2013 Jon Paris
Note: The code accompanying this article is available for download here. In my previous tip I introduced you to an RPG Open Access (OA) handler that facilitated writing to a data queue using conventional WRITE operations. As you saw, from the programmer’s perspective they were writing to a disk file. The only difference was that the F-spec included the HANDLER keyword to instruct RPG that the handler was to perform all of the actual I/O operations. This time I am going to describe its companion handler–one that reads from data queues. Design Considerations When we write a program that |