.st0{fill:#FFFFFF;}

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

han·dler
ˈhandlər/
noun
  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)
http://www.mcpressonline.com/programming/rpg/v7s-rpg-enhancements-include-open-access.html

Exploring Open Access for RPG – Jon Paris and Susan Gantner (July 2010)
http://ibmsystemsmag.blogs.com/idevelop/2010/07/open-access-for-rpg.html

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
http://ibmsystemsmag.com/ibmi/developer/rpg/getting-a-handle-on-rpg’s-open-access/

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

NickLitten


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"}
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"cff50":{"name":"Main Accent","parent":-1},"a344d":{"name":"Accent Transparent","parent":"cff50"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"cff50":{"val":"var(--tcb-skin-color-0)"},"a344d":{"val":"rgba(46, 138, 229, 0.85)","hsl_parent_dependency":{"h":210,"l":0.54,"s":0.78}}},"gradients":[]},"original":{"colors":{"cff50":{"val":"rgb(0, 178, 255)","hsl":{"h":198,"s":1,"l":0.5}},"a344d":{"val":"rgba(0, 178, 255, 0.85)","hsl_parent_dependency":{"h":198,"s":1,"l":0.5}}},"gradients":[]}}]}__CONFIG_colors_palette__

Get In Touch

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

>