ILE COBOL Programmer's Guide


Using the Create COBOL Module (CRTCBLMOD) Command

To compile ILE COBOL source statements into one or more module objects, you must use the CRTCBLMOD command. This command starts the ILE COBOL compiler that creates the module object(s) based on your ILE COBOL statements in the source member. You can use the CRTCBLMOD command interactively, or in batch mode, or from a CL program on the iSeries server.

Note:
In order to create a module object with the CRTCBLMOD command you must have authority to use the command.

If the Format 2 COPY statement is used in the program to access externally described files, the operating system provides information about the externally described files to the compiled program.

If the ILE COBOL compiler stops, the message LNC9001

Compile failed. module-name not created.

You can use a control language program that can monitor for this exception by using the Monitor Message (MONMSG) CL command.


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