ILE C/C++ Programmer's Guide

Updating or Changing a Service Program

You can update or change a service program in the same way you modify a program object. In other words, you can:

See Updating a Module or a Program Object for more information on any of the above points.

If you use binder language, a service program can be updated without requiring programs calling it to be recompiled. For example, to add a new procedure to an existing service program:

  1. Create a module object for the new procedure.
  2. Modify the binder-language source file to handle the interface associated with the new procedure. Add any new export statements following the existing ones. See Updating a Service Program Export List for details on modifying binder-language source files.
  3. Recreate the original service program and include the new module.

Now existing programs can access the new functions. Because the old exports are in the same order, they can still be used by the existing programs. Until it is necessary to also update the existing programs, they do not have to be recompiled.


[ Top of Page | Previous Page | Next Page | Table of Contents ]