![]() TIP: Please sure in future just add new functions to the end of the export list or you will have signature issues Use Option 15 ( CRTRPGMOD ) to compile and the output will be in type *MODULEĬreating a Binder Directory If one doesn't exist or you want a new one CRTBNDDIR BNDDIR(your_library/MATHDIR)Ĭreate the Binding Source (BND member type) STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('MYMATH') In the following example I am going to create RPGLE functions but in reality you can have functions in any language supported by the iSeries and the calling program can be in a different language.Ĭreate a separate source so that you can use the same prototypes definition in your program as well as in the module function definition.ĭeclare the procedure with nomain in h-spec A module can contain one or more procedures Create a Service Program and how to use binding directory.
0 Comments
Leave a Reply. |