hi,
Can anyone help me how can I get source codes for builtin functions and i want to implement some of functions like(BUILTIN) for my personel improvement in RPGLE
Software/Hardware used:
ASKED:
August 7, 2008 8:30 AM
UPDATED:
August 7, 2008 11:03 PM
Even though you can’t get the IBM source code, you can essentially write your own built in functions (BIF). A BIF is basically a procedure that returns a value, which usually also accepts incoming parameters. So, you could create a custom procedure, which can be executed with the same syntax as a BIF.
If you just wanted to enhance an existing BIF, you could incorporate the IBM BIF into your own procedure, and add any desired features within your code. Then, you’d call your procedure instead of the standard BIF.
Or, if you want your procedure to do something quite different from how the IBM BIF operates, you would have to come up with your own logic to replace what the BIF does.