The Latest in RPG Built-in FunctionsIn the same announcement as the IBM i 7.4 TR4, three new RPG Built-In-Functions (BIFs)—%Upper, %Lower and %Split—were introduced. Let's take a look at what they offer. %Upper and %Lower The purpose of these BIFs is pretty obvious from their names and… Jun 03 21June 03, 2021Article at Tech Channel
Guru Classic: A Bevy Of BIFs — UpdatesIn my previous tip I returned to the “Bevy” series to tell you about the latest addition to the family: %ScanRpl. Shortly after completing that tip I realized that there have been a number of more recent BIFs such as %SubArr and some enhancements to… Feb 05 20February 05, 2020Article at IT Jungle
Guru Classic: A Bevy of BIFs, %XLATE and %REPLACEAuthor’s Note: I’m revisiting this classic tip since the original was written back in 2009, long before the introduction of free-form data declarations. In addition, I’ve updated this tip to point to the new %SCANRPL BIF, which impacts this scenario.… Mar 06 19March 06, 2019Article at IT Jungle
Guru Classic: A Bevy of BIFs — %CHAR, %EDITC and %EDITWAuthor’s Note: The reason I chose this particular tip to revisit was that a similar question came up on one of the RPG web forums the other day. The questioner was looking for an easy way to edit a numeric field to include the use of colons as… Feb 13 19February 13, 2019Article at IT Jungle
Guru Classic: A Bevy of BIFs – %SCAN and %CHECKMany RPG programmers seem to get confused about the usage and operation of a number of built-in functions (BIFs). In particular the BIFs %XLATE, %REPLACE, %SCAN, and %CHECK seem to cause a lot of confusion. In this tip, I focus on %CHECK and %SCAN. I… Jan 16 19January 16, 2019Article at IT Jungle
A Bevy Of BIFs: UpdatesIn my last tip I returned to the “Bevy” series to tell you about the latest addition to the family: %ScanRpl. Shortly after completing that tip I realized that there have been a number of more recent BIFs such as %SubArr and some enhancements to… Oct 08 14October 08, 2014Article at IT Jungle
A Bevy of BIFs: %Dec to the RescueMore and more in RPG applications these days, it seems we need to process data that comes from “the dark side.” Translation: from a non-i system. This data could be coming from a browser screen via an RPG CGI program, from a CSV (comma-separated… May 20 09May 20, 2009Article at IT Jungle
A Bevy of BIFs: %SCAN and %CHECKFrom recent questions on Internet lists, and from one-on-one discussions with RPG programmers, it seems that many are confused about the usage and operation of a number of built-in functions (BIFs). In particular the BIFs %XLATE, %REPLACE, %SCAN, and… Feb 25 09February 25, 2009Article at IT Jungle
A Bevy of BIFs: Getting a Date is Easy with %DateAlmost every kind of business application uses dates. Hopefully you’re taking full advantage of all the RPG support for date data types to simplify your logic. If you’re using more than one line of code to calculate the number of days, months or… Feb 18 09February 18, 2009Article at IT Jungle