tfh
Volume 19, Number 15 -- April 19, 2010

RPG Gets Custom Data Streams with Open Access

Published: April 19, 2010

by 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


Sponsored By
inFORM DECISIONS

Paperless Saves $$$.

Nothing against paper and preprinted forms, but they can really suck an organization's money down the drain.

You can deliver vital reports, checks and forms FASTER and save significant time and money with inFORM's paperless and web-based document management solutions.

The affordable iDocs Suite eliminates the cost of paper from AP, customer service, sales and more for fast ROI. Create and immediately distribute critical business documents, without the expense. In no time you can:

                  · Generate electronic forms, checks, reports, PDFs and more
                     directly from System i spool files

                  · Intelligently burst, format, sort, bundle and distribute
                     via email, fax, printer and/or web repository

                  · Provide immediate and secure browser-based access to
                     e-documents from anywhere in the world, 24x7

Let inFORM show you how easy it is to save time and money going paperless!

Paperless solutions by inFORM Decisions include iDocs, iForm, iPDF, iMail, iFax, SmartRouter, iCheck, CheckSecure, Positive Pay, iScan and the iView web-based document storage and retrieval system.


Editor: Timothy Prickett Morgan
Contributing Editors: Dan Burger, Joe Hertvik, Brian Kelly, Shannon O'Donnell,
Mary Lou Roberts, Victor Rozek, Kevin Vandever, Hesh Wiener, Alex Woodie
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

PowerTech:  Download your free copy of the updated 2010 The State of IBM i Security today!
Shield Advanced Solutions:  JobQGenie ~ the perfect companion for your high availability solution
COMMON:  Join us at the annual 2010 conference, May 3 - 6, in Orlando, Florida

 

 

IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
The iSeries Express Web Implementer's Guide: List Price, $49.95
The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
Can the AS/400 Survive IBM?: List Price, $49.00
Chip Wars: List Price, $29.95


 
Four Hundred Stuff
IBM Officially Announces i/OS 7.1

Zend Server for i/OS Now Available

Information Builders Seeks to Democratize BI with WebFOCUS 8

Purchase-to-Pay Vendor Sets Up Shop in U.S.

Free iPhone App from Sentinex Connects to Infor ERP A+

Four Hundred Guru
Query Control

Update One File Based on Another File

Admin Alert: Some Simple Ideas for Getting the Best System i Lease

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
April 10, 2010: Volume 12, Number 15

April 3, 2010: Volume 12, Number 14

March 27, 2010: Volume 12, Number 13

March 20, 2010: Volume 12, Number 12

March 13, 2010: Volume 12, Number 11

March 6, 2010: Volume 12, Number 10

TPM at The Register
IBM's Power 780 pushes the value envelope

Oracle ponies up $685m for Phase Forward

Oracle tunes Solaris for Intel's big Xeons

IBM prunes low-cost AIX rev

Big Blue juices OS formerly known as 400

Intel expects server bump in Q2

CSchooner adds DR to SQL and cache appliances

Xen 4.0 adds Remus fault tolerance

Fedora tempts fate with Apollo 13 beta

IBM sharpens Power7 blades

Gartner revises 2010 IT spending upwards

Mellanox ships rounded InfiniBand lineup

THIS ISSUE SPONSORED BY:

Databorough
Bsafe Information Systems
inFORM Decisions
Linoma Software
VAULT400


Printer Friendly Version


TABLE OF CONTENTS
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

i/OS Security Warnings: Like Talking to a Brick Wall

But Wait, There's More:

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 . . .

The Four Hundred

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2010 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement