These procedure converts a string to Proper-, Pascal- and CamelCase.
Continue readingTag Archives: Totally Free RPG
A replacement for DISPL
There are a number of shortcomings using DISPL, such as the message to display can be maximum 52 characters.
Continue readingILE RPG procedures Num2BPre() and Num2SPre() to format numbers in short form
These procedure displays numbers in short form, that is with nomination as Thousand, Millions, Miliards etc.
Continue readingILE RPG procedure PopMnu() to display a popup menu
ILE RPG procedure FindFiles() to search the IFS for files, version 2
This procedure searches the IFS tree structure (including sub-directories) for files and directories having a name that matches the mask 🙂 Continue reading
ILE RPG procedure to split a filename into name and extension
This procedure splits a filename (must be without path name) into the name and the extension.
If the filename has more than one dot, the name and extension is split at the last dot.
This is version 2 of the SplitFn() procedure.
ILE RPG procedure to convert a string to upper/lower case – fast
Please note: As of April 2021, IBM has published PTFs for V7.3 and V7.4 that gives the ILE RPG langugage two new BIF (Build In Functions) to convert to upper and lower case. Continue reading