ILE C/C++ Programmer's Guide

Binding Modules

If you created modules during compilation, you need to bind the module objects together using the Create Program (CRTPGM) or Create Service Program (CRTSRVPGM) commands. The result is an executable *PGM or *SRVPGM object.

Binding combines one or more modules into a program (*PGM) or a service program (*SRVPGM). Modules written in ILE C or C++ can be bound to modules written in any other ILE language. C++ programs can use routines from C++ class libraries, C libraries, and any ILE service program. The binder resolves addresses within each module, import requests and export offers between modules that are being bound together.

Once a program is created, you can later update it using the Update Program (UPDPGM) or Update Service Program (UPDSRVPGM) commands. These commands are useful because you only need to have the new or changed modules available when you want to update the program.


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