• 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
    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
    Email: software@worksright.com
    Website: www.worksright.com

    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

  • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
  • Beta Of MCP Server Opens Up IBM i For Agentic AI
  • Sundry IBM i And Power Stack Announcements For Your Consideration
  • Please Take The IBM i Marketplace Survey
  • IBM i PTF Guide, Volume 27, Number 43
  • IBM Pulls The Curtain Back A Smidge On Project Bob
  • IBM Just Killed Merlin. Here’s Why
  • Guru: Playing Sounds From An RPG Program
  • A Bit More Insight Into IBM’s “Spyre” AI Accelerator For Power
  • IBM i PTF Guide, Volume 27, Number 42

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