• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • RPG Gets Custom Data Streams with Open Access

    April 19, 2010 Timothy Prickett Morgan

    Of all the things that are coming out with the new i For Business 7.1 operating system for Power Systems, perhaps the most exciting to both end users and software developers is what was called Open I/O when it was in development, was briefly called Open Access for RPG in the months ahead of the i 7.1 launch (when that operating system was lovingly referred to as “i Next”), and what we now know as Rational Open Access: RPG Edition. Call it what you will, it is all the same good thing.

    As The Four Hundred has been hinting for months based on rumors I have been hearing about what Big Blue is up to, with Open Access, the RPG compiler and runtime now has a set of open APIs that allow companies to create custom data streams and not use the old 5250 green-screen protocol to have RPG applications talk to the screens and browsers of the outside world.

    There’s nothing wrong with the 5250 protocol, of course. It is fast and efficient, and in a world without mice, the means that 5250 midrange and 3270 mainframe screens presented application fields and allowed you to tab quickly around them and page through screens and screens of the applications fast was not only reasonable, but the best possible way to solve the problem. In a point-and-click client/server world, this was annoying, in a Web 1.0 world it was difficult, and in the mashed-up world of Web 2.0 where applications are much more malleable and are run on a variety of computers, phones, and other devices, it is downright cumbersome to make RPG applications talk to all these different screens. There’s just too much transformation going on, and that eats up CPU, memory, and I/O resources, as well as making programmers–or their tool vendors–spend a lot of time creating specific transforms tuned to specific devices.

    With Open Access, IBM is taking a more direct approach, as you can see from this pretty picture:

    The top shows how IBM’s Host Application Transformation Services (HATS) tool, one of a large array of application modernization tools available in the market (all of which go a long way to making this very newsletter possible thanks to the advertising support we get from tool vendors), intercept the 5250 data stream and bend it to suit the needs of applications coded to display in Web browsers or mobile devices with their proprietary or open screens, as well as in Web Services that mash up application streams from many different kinds of servers and databases to make something that looks all unified and pretty.

    The bottom of the chart shows that Open Access APIs have been added to the RPG compilers and to the RPG runtime environments so systems-level programmers can create their own baby data streams–what IBM calls handlers–to interface RPG applications more directly with XML documents and interfaces, Web services used by applications running on PC operating systems but increasingly within a Web browser, and mobile devices with their own browsers and application runtimes.

    In a way, IBM is finally doing what Jacada tried to do with its Interface Server a decade ago. But Jacada did not control the RPG compiler and runtime, so using the Jacada product to get around the 5250 protocol and building client/server and Web extensions to applications meant having to insert Jacada calls into the RPG code itself. Customers were understandably hesitant to do this, and stuck to products that transformed the 5250 data stream rather than replacing it. But IBM thinks the idea has merit now, perhaps because the programming model for applications has changed so much in the past decade and there is, practically speaking, no other alternative than what IBM has done.

    To be very precise about what Rational Open Access: RPG Edition does, it takes the native I/O access methods that allow an RPG program to access DB2 for OS/400 and i databases and output information to screens or other applications written in other languages and allows that input to come from or output to go to something other than a 5250 screen. This doesn’t just happen magically. IBM and third-party tool vendors, as well as some bigger IT shops who might want to code their own data streams, have to create their own handlers to interface to XML docs, Web services, spreadsheet programs, databases, or even cloud computing facilities that are external to the data center where the Power Systems iron runs RPG applications. The Open Access is a full-featured version of the RPG SPECIAL files command, and it allows RPG programmers to use the I/O access methods they are familiar with to get data into and out of RPG applications. RPG applications get tweaked with Handler keywords, and when an RPG application is compiled with these, the compiler generates code to use the handling procedure for any I/O device, such as PRINTER, DISK, or WORKSTN. The handler is used to map a new device–a spreadsheet, an iPhone–to an RPG I/O device.

    According to Ian Jarman, manager of Power Systems software at IBM, the expectation is that programmers will use the C or C++ compilers for Power-based systems from IBM to create these handlers. IBM’s own Lab Services organization is readying a set of handlers to convert RPG application output to XML documents, says Steve Will, the chief architect for the i software stack at IBM. Profound Logic Software, looksoftware, and Vormittag Associates have all created handlers, and others are sure to follow.

    Open Access V1.1, which is known by the product number 5733-OAR, will work with i 6.1 or i 7.1 and has to be present in any logical partition or on any machine where the open I/O methods are employed by the RPG applications. It will work on any iSeries or Power Systems machine that runs either of these operating systems and has a Power5, Power5+, Power6, Power6+, or Power7 processor. The old iSeries 800, 810, 825, 870, and 890 machines based on Power4 and Power4+ chips can also use Open Access in conjunction with i 6.1, but i 7.1 is not supported on this older iron. Forget about running Open Access on i5/OS V5R4. Open Access requires the appropriate RPG runtime environments for i 6.1 (5761-SS1) and i 7.1 (5770-SS1), as well as Rational Development Studio for either i 6.1 (5761-WDS) or i 7.1 (5770-WDS).

    The Open Access tool is priced based on the traditional OS/400 software tiers, running from P05 on small iron to P60 on big boxes. What you will not be able to get from IBM’s announcement letters is the pricing for Open Access, which is why you keep me around. On a P05 system, the feature costs $500; on a P10 system, $1,000; on a P20 system, $2,500; and on P30 through P60 systems, $5,000. This seems very reasonable. Now, we’ll have to see what handlers cost.

    Open Access: RPG Edition will ship on April 23, concurrently with i 7.1 itself. Jarman says that IBM is mulling over the possibility of doing a COBOL Edition and is looking for feedback from customers who use COBOL as well as partners in the tool community that support it.

    One last thing: IBM has not in any way changed the 5250 data stream, nor does it have any intention, so far as I know, of changing it or, heaven forbid, eliminating it. So applications you have modernized that depend on the 5250 protocol will still work fine.

    It will be interesting to see if Open Access gives better performance than transformed 5250 apps. As you start playing with this in testing and production, take notes and let me know how they compare.

    RELATED STORIES

    IBM Officially Announces i/OS 7.1

    The Possibilities for Open Access for RPG

    IBM Holds i 6.1 Prices Steady, Slashes Application Server Fees

    i 7.1 Due April 14, with Open Access for RPG, Other Goodies

    The Power7 Systems Sales Pitch

    i/OS Gets Short Sheeted with Power7 Thread Counts

    The System iWant, 2010 Edition: Clustered Boxes

    IBM Fired Up About Power7-Based Smarter Systems

    A Little Insight Into the Rest of the Power7 Lineup

    Power7: Yields Are Good, Midrange Systems A Go

    The Power7 Rollout Begins In The Middle

    The System iWant, 2010 Edition: Blade and Cookie Sheet Boxes

    The System iWant, 2010 Edition: Entry Boxes

    The System iWant, 2010 Edition: Midrange Boxes

    IBM Preps Power7 Launch For February

    Looks Like i 7.1 Is Coming In April

    The System iWant, 2010 Edition: Big Boxes

    Power Systems i: The Word From On High

    Power Systems i: The Windows Conundrum

    Power Systems i: Serve’s Up

    Power Systems i: Thinking Inside the Box

    Rolling Thunder Rollout for Power7 Processors Next Year

    IBM Rolls Up an i 6.1.1 Dot Release

    The Curtain Rises a Bit on the Next i OS, Due in 2010

    Start Planning for Power7 Iron Now

    IBM to Reveal Power7 Secrets at Hot Chips

    Power 7: Lots of Cores, Lots of Threads



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mtfh_rc, Volume 19, Number 15 -- April 19, 2010

    Sponsored by
    Maxava

    Migrate IBM i with Confidence

    Tired of costly and risky migrations? Maxava Migrate Live minimizes disruption with seamless transitions. Upgrading to Power10 or cloud hosted system, Maxava has you covered!

    Learn More

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Admin Alert: Some Simple Ideas for Getting the Best System i Lease Profound Delivers First RPG Open Access ‘Handler’

    Leave a Reply Cancel reply

TFH Volume: 19 Issue: 15

This Issue Sponsored By

    Table of Contents

    • i/OS Security Warnings: Like Talking to a Brick Wall
    • IBM’s Power7 Blades Pack a CPW Punch
    • i For Business Gets to Lucky Number 7–Dot 1
    • RPG Gets Custom Data Streams with Open Access
    • Mad Dog 21/21: When iCarus Is Bliss
    • Analysts Top Off IT Spending Tank, Pump Up Earlier Expectations
    • IBM Peddles Baby BladeCenter PS700 Express Blade Box
    • A Few More Power Systems Features in Last Week’s Blitz
    • COMMON Fall Conference Takes Shape as Annual Meeting Draws Near
    • Tell COMMON Europe What Your Top Concerns Are

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • Public Preview For Watson Code Assistant for i Available Soon
    • COMMON Youth Movement Continues at POWERUp 2025
    • IBM Preserves Memory Investments Across Power10 And Power11
    • Eradani Uses AI For New EDI And API Service
    • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
    • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
    • Fresche Overhauls X-Analysis With Web UI, AI Smarts
    • Is It Time To Add The Rust Programming Language To IBM i?
    • Is IBM Going To Raise Prices On Power10 Expert Care?
    • IBM i PTF Guide, Volume 27, Number 20

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle