Once a program object is created, it may need to be changed to address problems or to meet changing requirements. A program object is built from module objects, so you may not need to change the entire program object. You can isolate just the module object that needs to be changed, change it, and then bind the program object again. How you change the module object depends on what needs to be changed.
You can change a module object in five ways:
If you want to change the optimization level or observability of a module object, you may not be required to create it again. This often happens when you want to debug a program object or when you are ready to put a program object into production. Such changes can be performed more quickly and use less system resources than creating the module object again.
In these situations you may have many module objects to create at the same time. You can use the Work with Modules (WRKMOD) command to get a list of module objects selected by library, name, generic symbol, or *ALL. You can also limit the list to just module objects created by the ILE COBOL compiler.
Once you have made a change to a module object, you must use the CRTPGM command or UPDPGM command to bind the program object again.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.