• 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
    LaserVault

    Integrate Virtual Tape to Automate Your Backups And Strengthen Your Ability To Recover From Cyber Attacks And Disasters

    With most IT departments stretched thin, finding something that can quickly free up IT time is definitely a bonus. That’s why it’s important to stop and take a look at integrating virtual tape into your backup and recovery. Virtual tape is one of those technologies where once you have it, you’ll wonder why you didn’t do it sooner. See a demo and get a $50 gift card.

    But what is it about using virtual tape that makes it so worthwhile? Why is it that so many IBM i shops are already using or considering using virtual tape for all or part of their backup and recovery systems?

    Virtual tape and virtual tape libraries offer a way to both simplify and strengthen backup and recovery operations. By incorporating virtual tape technology, automation of backups becomes possible resulting in hundreds of hours saved annually for IT departments and personnel.

    “We needed to find a replacement that would lower the maintenance cost and reduce complexity of our backup and recovery functions without a major disruption to our operations.” David Fray, Director of Enterprise Systems, ABC Financial

    LaserVault ViTL is a virtual tape and tape library solution developed specifically for use with IBM Power Systems (from AS/400 to iSeries to Power 9s). With ViTL you can:

    • Replace physical tape and tape libraries and eliminate associated delays
    • Automate backup operations, including the ability to purge or archive backups
    • Remotely manage your backups – no need to be onsite with your server
    • Save backups to a dedupe appliance and the cloud
    • Recover your data at lightspeed greatly improving your ability to recover from cyberattacks
    • And so much more

    Sign-up now to see a ViTL online demo and get a $50 Amazon e-gift card when the demo is complete as our way of saying thanks for your time. Plus when you sign-up you’ll receive a free facts comparison sheet on using virtual tape vs tape so you can compare the functionality for yourself.

    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

  • IBM Mulls Using DataMigrator as Cloud Warehouse Pipeline
  • PowerTech AV Automatically Detects Ransomware Activity
  • Infor Puts CM3 Project On Hold
  • Four Hundred Monitor, June 29
  • IBM i PTF Guide, Volume 24, Number 26
  • Guild Mortgage Takes The 20-Year Option For Modernization
  • IBM i Licensing, Part 3: Can The Hardware Bundle Be Cheaper Than A Smartphone?
  • Guru: The Finer Points of Exit Points
  • Big Blue Tweaks IBM i Pricing Ahead Of Subscription Model
  • We Still Want IBM i On The Impending Power E1050

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