• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Tech Refresh Brings New RPG Features

    October 26, 2020 Alex Woodie

    There’s no denying that IBM has a soft spot for open source these days, but that doesn’t mean it’s given up on the ILE environment. In fact, IBM gave RPG programmers something to cheer about by including several new features in the language in the latest batch of Technology Refreshes.

    IBM introduced over a dozen new open source capabilities with the IBM i 7.3 TR9 and 7.4 TR3, which IBM unveiled earlier this month and which will ship in a few weeks. That new tech will definitely help IBM i shops tackle their business challenges, says Steve Will, the chief architect for IBM i.

    “We know that there are many, many ways to solve business problems, and so we have heavily invested in open source technology, while we have also added functionality to traditional technology, like RPG,” Will said during his appearance on a webinar last week, titled IBM i — Alive and Kicking. “We’re going to increase the capability of RPG, making it easier to learn and more powerful, but we’re also going to bring you open technologies.”

    IBM typically saves big changes to the ILE languages for the major releases of the operating system, such as IBM i 7.3 and 7.4. That was the case with the latest major release, 7.4, which saw enhancements to both COBOL and RPG. But there are a few new RPG features in the forthcoming delivery of IBM i 7.3 TR9 and 7.4 TR3 that are worth mentioning.

    For starters, IBM is delivering a new opcode, FOR-EACH, as well as two new built-in functions (BIFs), %RANGE and %LIST. The FOR-EACH opcode allows a program to iterate over an array defined by the %LIST BIF. The %RANGE BIF, meanwhile, lets a programmer check whether a value is within the range of two other values.

    RPG programmers who would like to be able to debug the return value of a procedure will be happy to hear that IBM has delivered exactly that. With the new control keyword DEBUG(*RETVAL), programmers will be able to view or change the value returned from a procedure in the debugger when they are at the breakpoint for the end of the procedure.

    The new TRs also bring an enhancement that improves the behavior of string parameters and numeric BIFs, such as %DEC, %INT, %FLOAT, %INTH, %UNS, and %UNSH. When the EXPROPTS keyword is used, blanks and thousand separators can be used. They will return zero if a blank is used or if it’s empty (it would have returned a status code 105 previously if it was empty). A blank value will also be allowed for a numeric value for XML-INTO and DATA-INTO, IBM says.

    The EXPROPTS keyword also allows separators for thousands. However, IBM warns that, after a program is compiled using this enhancement, that a runtime PTF is needed on any system where the program runs.

    IBM also added a new command parameter that specifies whether prototypes are required for exporting procedures and for the cycle-main procedures. The feature is delivered with a new command parameter REQPREXP, that’s added to the CRTBNDRPG and CRTRPGMOD commands. There’s also control keyword of the same name that can be placed in the H-spec.

    These new RPG features will be included Rational Development Studio (5770-WDS), which contains the compilers for the ILE languages. The RPG enhancements will be usable in the latest release of the IBM Rational Developer for i product, or (RDi), which also goes by product number 5733-RDW).

    IBM is already hard at work figuring out what sort of new RPG enhancements the IBM i community wants next, according to Will.

    “Our team right now is in the fall planning stages. We know what’s going to be in the release after 7.4 and we’re planning for what the release is after that,” Will says. “We’re always working on the next things, and that’s never going to change. That’s the strategy for IBM i. That’s the strategy for IBM. We have plans for the future.”

    For more information on the latest enhancements to RPG, check out the RPG Cafe.

    RELATED STORIES

    IBM Brings More Open Source to IBM i

    IBM Bolsters RPG And COBOL Development

    Is It Time To Rename RPG?

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: COBOL, IBM i, IBM i 7.3 TR9, IBM i 7.4 TR3, ILE, Rational Developer for i, RDi, RPG

    Sponsored by
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Profound and Connectria Hook Up in Cloud-Modernization Push Unperspective: You’re Not All That

    Leave a Reply Cancel reply

TFH Volume: 30 Issue: 67

This Issue Sponsored By

  • ProData
  • Datanational Corporation
  • UCG Technologies
  • MAGiC
  • WorksRight Software

Table of Contents

  • IBM i Turns In Good Numbers For Q3, Bolstering Power Systems
  • The Many Layers Of IBM i Managed Services
  • Guru: SQL and Expanding Subfiles
  • Unperspective: You’re Not All That
  • Tech Refresh Brings New RPG Features

Content archive

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

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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