ILE COBOL Programmer's Guide


Using the Create Bound COBOL (CRTBNDCBL) Command

The Create Bound COBOL (CRTBNDCBL) command creates one or more program objects from a single ILE COBOL source file member in a single step. This command starts the ILE COBOL compiler and creates temporary module objects which it then binds into one or more program objects of type *PGM.

Unlike the CRTPGM command, when you use the CRTBNDCBL command, you do not need a separate preceding step of creating one or more module objects using the CRTCBLMOD command. The CRTBNDCBL command performs the combined tasks of the Create COBOL Module (CRTCBLMOD) and Create Program (CRTPGM) commands by creating temporary module objects from the source file member, and then creating one or more program objects. Once the program object(s) is created, CRTBNDCBL deletes the module objects it created.

Note:
If you want to retain the module objects, use CRTCBLMOD instead of CRTBNDCBL. If you use CRTCBLMOD, you will have to use CRTPGM to bind the module objects into one or more program objects. Also, if you want to use options of CRTPGM other than those implied by CRTBNDCBL, use CRTCBLMOD and CRTPGM.


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