What is open Access
Rational® Open Access: RPG Edition provides a way for RPG programmers to use the simple and well-understood RPG I/O model to access resources and devices that are not directly supported by RPG.
Open Access opens up RPG's file I/O capabilities, allowing anyone to write innovative I/O handlers to access other devices and resources such as:
- Mobile devices
- Cloud computing resources
- Web services
- External databases
- XML files
- And more
An Open Access application has three parts:
- An RPG program that uses standard RPG coding to define an Open Access file and use I/O operations against the file.
- A handler procedure or program that is called by Open Access to handle the I/O operations for the file.
- The resource or device that the handler is using or communicating with.
Open Access is the linkage between parts 1 and 2. Licenced program 5733-OAR is required to use Open Access at runtime. Open Access is a full-featured version of the limited support provided by RPG SPECIAL files. It provides a way for RPG programmers to use the simple and well-understood RPG I/O model to access devices that are not directly supported by RPG.