ILE COBOL Programmer's Guide


Definition of a Program Object

A program object is a runnable system object of type *PGM. For ILE COBOL, the name of the program object is determined by the CRTBNDCBL command, CRTPGM command, or the PROGRAM-ID paragraph of the outermost COBOL source program. The process that creates a program object from one or more module objects and referenced service programs is known as binding. One or more module objects are created by the CRTCBLMOD command, or are temporarily created by the CRTBNDCBL command before it creates one or more bound program objects. Binding is a process that takes module objects produced by the CRTCBLMOD or CRTBNDCBL command and combines them to create a runnable bound program object or service program.

When a program object is created, only ILE procedures in those module objects containing debug data can be debugged by the ILE source debugger. The debug data does not affect the performance of the running program object. Debug data does increase the size of the generated program object.

A program object is run by using a dynamic program call. The entry point to the program object is the PEP.


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