What is an RPG Open Access Handler? 

 September 29, 2017

By  NickLitten

It’s not someone that makes door handles is it? In software development a handler is a routine/function/method specializing in working with a certain type of data or focused on doing a special task. For example: Event handler – Receives and digests events and signals from the surrounding system (e.g. OS or GUI) or RPG HANDLER – Send/Receives data from the IO device (e.g. PF/DSPF/PRTF) to another source (e.g. IFS, XML, JSON).

In RPG a Handler handles more than just Lions

  1. 1.
    a person who handles or deals with certain articles or commodities.
    “a baggage handler”
  2. 2.
    a person who trains or has charge of an animal.
    “the performance of dog and handler in the ring must be accurate and correct”

If you are an IBM i RPG programmer then a HANDLER is the interface/method which handle the communication with the wide range of available resources and devices.

I’ve been playing with handlers for a while now and managed to store lots of interesting documents and code snippets. So, it’s time to put them all in one place so I can refer to them and also hopefully help some other RPG nerds out…

Where can I find technical information on how to use an RPG HANDLER?

I highly recommend downloading and consuming this presentation PARTNER400_-_RPG_Open_Access_By_Example by Partner400

Jon Paris has written several excellent articles about RPG OPEN ACCESS

Here are links to a few:

V7’s RPG Enhancements Include Open Access! – Jon Paris (April 2010)

Exploring Open Access for RPG – Jon Paris and Susan Gantner (July 2010)

Getting a Handle on RPGís Open Access – Discover how simple it is to create a generic handler – Jon Paris and Susan Gantner (July 2010) – Browser implementation of a print report

Buffer handler for Currency Exchange web service: http://www.ibmsystemsmag.com/ibmi/developer/general/oa_rpg/

Creating an OA CSV Writer http://www.ibmsystemsmag.com/ibmi/developer/rpg/Getting-a-Handle-on-RPG’s-Open-Access/

Handling Input Handlers With RPG Open Access – Basic Input CSV handler: http://www.ibmsystemsmag.com/ibmi/developer/rpg/input_handlers/

Making the CSV reader more flexible: http://www.ibmsystemsmag.com/ibmi/developer/rpg/flexible_input_handlers

More Flexible Handler – http://ibmsystemsmag.com/ibmi/developer/rpg/flexible_input_handlers/

Some other Providers (for Open Access Handlers)

Download the IBM redbook from Rational Open Access: RPG Edition


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get In Touch

I’m always looking for awesome input, feedback and critique!


Snug CBD

 20% Discount

I have partnered with SNUG CBD givING you Organic CBD
20% discount code "NL20"