ILE COBOL Programmer's Guide


Example of Binding One Module Object to Create a Program Object

This example shows you how to create a program object from a module using the CRTBNDCBL command.

  1. To create a program object, type:
    CRTBNDCBL PGM(MYLIB/XMPLE1)
    SRCFILE(MYLIB/QCBLLESRC)  SRCMBR(XMPLE1)
    OUTPUT(*PRINT)
    TEXT('ILE COBOL Program')
    CVTOPT(*FLOAT)
    

    and press Enter.

    The CRTBNDCBL command creates the program XMPLE1 in MYLIB. The OUTPUT(*PRINT) option specifies that you want a compilation listing.

  2. Type one of the following CL commands to view the listing.
    Note:
    In order to view a compiler listing you must have authority to use the commands listed below.


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