• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • RPG Enhancements for i5/OS V6R1 Revealed

    October 15, 2007 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

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mtfh_rc, Volume 16, Number 40 -- October 15, 2007

    Sponsored by
    Precisely

    Participate in Precisely’s 2021 IBM i Security Survey

    Every year, Precisely asks IT pros responsible for IBM i security about their top challenges, strategies, technologies and best practices. These annual survey results provide a revealing look at the current state of IBM i security through the eyes of your peers.

    Click here to contribute your perspectives to this year’s survey.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Admin Alert: Remotely Accessing an HMC System Console, Part 2 CYBRA Teams with Solzon to Develop i5/OS RFID Software

    Leave a Reply Cancel reply

TFH Volume: 16 Issue: 40

This Issue Sponsored By

    Table of Contents

    • More Reader Feedback on EGL, State of System i, Pricing Disparities
    • Worldwide IT Spending to Top $3 Trillion in 2007
    • New System i 525 Solution Editions Debut, 570 Gets Tweaked
    • RPG Enhancements for i5/OS V6R1 Revealed
    • IBM Adds Web Services and SOA Tools to the System i
    • IBM Adds Zend to Value Pak, Ships ESX Server Storage Support
    • Zend Puts Out New Release of Commercial-Grade PHP
    • ‘Viral’ Marketing Campaign from Bytware Targets PHP-i5/OS Security
    • AS/400s Are From Rochester, RS/6000s Are From Austin
    • Avnet Builds Out EMEA Business with ACAL, Magirus Acquisitions

    Content archive

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

    Recent Posts

    • 2021 Predictions for IBM i: Part Two
    • Zend Server for IBM i Now 64-Bit, Available Via RPM
    • New IBM i Logo, Publication
    • Four Hundred Monitor, January 20
    • IBM i PTF Guide, Volume 23, Number 3
    • IBM i Software And Power Systems Upgrades Keep Rolling Forward
    • Preparing For What’s Next In A Thoughtful, Structured Way
    • Guru: Fall Brings New RPG Features, Part 3
    • ARCAD Plugs IBM i DevOps Suite Into Microsoft Azure
    • Park Place Buys Curvature To Become Maintenance Goliath

    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 © 2021 IT Jungle

    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.