tfh
Volume 16, Number 40 -- October 15, 2007

RPG Enhancements for i5/OS V6R1 Revealed

Published: October 15, 2007

by Dan Burger

Early in 2008, we'll be seeing another upgrade to the i5/OS operating system, V6R1. IBM previewed some of its features in the upcoming software. Speculation regarding what will be in V6R1 is already at least knee-deep, and you can expect it to get much deeper in the final months of 2007. Those with greatest curiosity are generally the RPG programmers. And for them, IBM has nailed down exactly what a few new features will be.

The source of this information is George Farr, IBM's worldwide product line manager for WebSphere Development Studio, WebSphere Development Studio Client, and the RPG compilers for the System i. In his keynote address at the RPG & DB2 Summit put on by System i Developer, Farr turned over three of the V6R1 cards that IBM had been holding close to its vest. The RPG-oriented conference was held in Minneapolis, Minnesota, in early October.

Here's what you can expect to see: local file support for subprocedures, increased size limits for character fields, and multithreading capability when developing programs. If you're not building applications for the Internet, these enhancements are probably less exciting than your new wringer washing machine or high fidelity phonograph. Those of you who know a thing or two about ILE RPG, Web services, and Internet programming should find this of greater interest.

As more people become familiar with ILE, the support for local files and subprocedures will become a bigger benefit. Subprocedures make RPG code easier to write, easier to maintain, and easier to reuse. Farr told this RPG-savvy crowd that "by defining an F-spec after beginning a subprocedure, that file becomes local to the subprocedure." That obvious shortcut drew a round of applause. Most RPG programmers who are writing new code use subprocedures to externalize database processing.

Increasing the size limits for character fields will come into play when handling XML documents. I checked in with Paul Tuohy, an RPG expert and one of the session leaders at the RPG & DB2 Summit, to get his read on this benefit. He told me the capability to import XML directly into fields using qualified data structures in an RPG program in one operation was introduced in V5R4, but that most standard-sized XML documents won't fit in the 64 KB restriction that existed.

"There are quite a few people dealing with 16 MB XML documents," Tuohy says. "With V6R1, it will be a one-step operation to import a 16 MB document." As a way of handling the larger and more common document size, Tuohy says people are using third-party solutions to avoid the complexity of coding them directly into applications. After upgrading to V6R1, the third-party solutions won't be necessary for this task.

The increased size limits are a result of the way people are writing RPG now, he says. "Once people start to dabble in ILE, the mentality becomes more of a PC mentality, which is to load everything into memory, manipulate it, and then write it out again."

To illustrate this by example, Tuohy compares it to the typical way of writing an order entry application. He describes that as "a records-based procedure with an order header, the order details, the subfiles, and all that process. Doing that now involves defining a user space in QTEMP and having massive data structure arrays, and when the user confirms the order it gets written out to the database. In SOA or Web services, when an XML request come in, the RPG program generates an XML document, which it can do in a 16 MB package and sends it back to the requester."

The support for multiple threads in V6R1 was noted by Farr as stemming from bottlenecks that sometimes occur in RPG serialized threads. This update positions RPG business logic to be easily called from the Web without risk of corrupting data. In addition, developers retain the option of selecting specific procedures to be serialized.


RELATED STORIES

EGL: The Future of Programming for the System i?

IBM Previews i5/OS V6R1, Due in 2008

IBM Upgrades High-End System i Server with Power6

Performance of Function Subprocedures

Parameter Passing and Performance

Call RPG Subprocedures from CL

Subprocedures: Better than Subroutines



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


Sponsored By
WORKSRIGHT SOFTWARE

Do you need area code information?
Do you need ZIP Code information?
Do you need ZIP+4 information?
Do you need city name information?
Do you need county information?
Do you need a nearest dealer locator system?

We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

Just call us and we'll arrange for 30 days FREE use of either
ZIP/CITY or PER/ZIP4.

WorksRight Software, Inc.
Phone: 601-856-8337
Fax: 601-856-9432
E-mail: software@worksright.com
Web site: www.worksright.com


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

Computer Measurement Group:  CMG '07 International Conference, December 2-7, San Diego
Clearview Software International:  Mobilize your work force with CostarMobile 2.0
COMMON:  Join us at the annual 2008 conference, March 30 - April 3, in Nashville, Tennessee

 

 

IT Jungle Store Top Book Picks

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 Developers' 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
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95


 
The Linux Beacon
Novell Delivers openSUSE 10.3 Linux Development Release

IBM Tweaks BladeCenter S for the Office, Preps Power6 Blades

Novell Actually Ships Open Enterprise Server 2

Growing Businesses, Upgrades Drive IT Hiring in Q4

Four Hundred Stuff
looksoftware's Modernization Suite Resembling a Full IDE

Pat Townsend Normalizes i5/OS Log Data for Security Analyses

Linoma Boosts Surveyor/400's SQL Functionality

PowerTech Updates Compliance Manager

Big Iron
Growing Businesses, Upgrades Drive IT Hiring in Q4

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

Four Hundred Guru
Controlling System i Shutdown Activities Using an Intelligent Power-Handling Program, Part I

Programmatically Import Excel Worksheets Using IBM's ActiveX Object Library

Admin Alert: Remotely Accessing an HMC System Console, Part 2

System i PTF Guide
October 6, 2007: Volume 10, Number 40

September 29, 2007: Volume 9, Number 39

September 22, 2007: Volume 9, Number 38

September 15, 2007: Volume 9, Number 37

September 8, 2007: Volume 9, Number 36

September 1, 2007: Volume 9, Number 35

The Windows Observer
Six Patches Issued by Microsoft, One Held Back Again

VMware Previews Future Hypervisor, Creates SMB Bundles

Akamai Debuts Service to Speed Any IP-Based Application

Microsoft Wants To Manage Your Health Records

The Unix Guardian
Niagara-2 Chips Double Entry Sparc Server Performance

Akamai Debuts Service to Speed Any IP-Based Application

IBM Tweaks BladeCenter S for the Office, Preps Power6 Blades

Growing Businesses, Upgrades Drive IT Hiring in Q4

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

THIS ISSUE SPONSORED BY:

New Generation Software
Tango/04
Computer Measurement Group
Krengeltech
WorksRight Software


Printer Friendly Version


TABLE OF CONTENTS
New System i 525 Solution Editions Debut, 570 Gets Tweaked

IBM Adds Web Services and SOA Tools to the System i

Zend Puts Out New Release of Commercial-Grade PHP

AS/400s Are From Rochester, RS/6000s Are From Austin

But Wait, There's More:

More Reader Feedback on EGL, State of System i, Pricing Disparities . . . Worldwide IT Spending to Top $3 Trillion in 2007 . . . RPG Enhancements for i5/OS V6R1 Revealed . . . IBM Adds Zend to Value Pak, Ships ESX Server Storage Support . . . 'Viral' Marketing Campaign from Bytware Targets PHP-i5/OS Security . . . Avnet Builds Out EMEA Business with ACAL, Magirus Acquisitions . . .

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-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement