Thursday, October 10, 2019

Additions to RPG in new TRs

rpg enhancements to ibm i 7.4 tr1 and 7.3 tr7

On Tuesday I wrote about the new additions to Db2 for i in the latest Technology Refreshes, IBM i 7.2 TR1 and 7.3 TR7. Today I bring you the additions to the RPG programming language.

Barbara Morris, lead developer for the RPG compilers at IBM, published a blog in the RPG Cafe part of the IBM Community website. In this blog she introduces us to the three additions coming with these TRs:

  1. DAT-GEN operation code: This generates a JSON or CSV document from a RPG variable.
  2. OVERLOAD keyword in prototype definitions: Defines a list of prototypes that can be called using the name of the prototype defined with this keyword. The compiler uses the parameters specified to determine which of the prototypes listed to call.
  3. OPTIONS(*EXACT) prototype parameter: When used additional rules apply to ensure that the called procedure receives the same values as the passed parameter.

Examples are given in the blog post here.

You can also find these described in the RPG section of the IBM KnowldgeCenter here.

The RPG enhancements will probably have their own PTF, independent of the main TR ones. I am keeping my fingers crossed the RPG PTF will become available the same date as the others: November 15, 2019.

No comments:

Post a Comment

To prevent "comment spam" all comments are moderated.
Learn about this website's comments policy here.

Some people have reported that they cannot post a comment using certain computers and browsers. If this is you feel free to use the Contact Form to send me the comment and I will post it for you, please include the title of the post so I know which one to post the comment to.