I have a quick question for you.
I have a module called TOOLS which is just a RPGLE containing a bunch of subprocedures that do some common functions. (All defined with prototypes and procedure interfaces.)
I do not create a service program with these modules. I just compile the module using option 15.
Now then, I have a bunch of programs that use these procedures throughout the system. They are bound to the module using a binding directory in the program header and compiled with option 14.
Now my question is, if I add a new procedure to the TOOLS module, do I need to go back and recompile all of the old programs? Will they error out with some kind of level check if I don't?
What if I changed the code in one of the procedures that is currently being used? (I assume I would need to.)
I guess I am asking if the modules that are used are built into the final program or do they call the external subprocedure each time?
Does that make sense?
I have a module called TOOLS which is just a RPGLE containing a bunch of subprocedures that do some common functions. (All defined with prototypes and procedure interfaces.)
I do not create a service program with these modules. I just compile the module using option 15.
Now then, I have a bunch of programs that use these procedures throughout the system. They are bound to the module using a binding directory in the program header and compiled with option 14.
Now my question is, if I add a new procedure to the TOOLS module, do I need to go back and recompile all of the old programs? Will they error out with some kind of level check if I don't?
What if I changed the code in one of the procedures that is currently being used? (I assume I would need to.)
I guess I am asking if the modules that are used are built into the final program or do they call the external subprocedure each time?
Does that make sense?
Comment