Upper and Lower built in functions come to RPG

When I saw these mentioned in the list of new enhancements made to RPG in IBM i 7.2 TR and And 7.3 TR10 the word “Finally” escaped my lips. Now we have built in functions, BiF, that would allow us to easily convert upper case letters to lower case, and vice versa.

For years I have been able to convert the case of characters in CL:

CHGVAR VAR(&STRING1) VALUE(%UPPER(&STRING1))

CHGVAR VAR(&STRING2) VALUE(%LOWER(&STRING2))

And in SQL too:

Read more »

Verified by MonsterInsights