ILE COBOL Language Reference


PROGRAM-ID Paragraph

The PROGRAM-ID paragraph specifies the name of the COBOL program. For an outermost program, it can also specify the name of the program object (*PGM) or module object (*MODULE), or both. It is required and must be the first paragraph in the Identification Division.

The name by which the program object is known to the system can be overridden by the PGM parameter of the CRTBNDCBL command. The name by which the module object is known can be overridden by the MODULE parameter of the CRTCBLMOD command. See the ILE COBOL for AS/400 Programmer's Guide for more information on the PGM or MODULE parameter.


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