695 pts.
 How can we get Source Code for BUILT IN functions
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

Answer Wiki:
Hi, As far as I know, IBM doesn't supply the source code for the built in functions. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  August 7, 2008  9:12 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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.

 4,275 pts.