Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Identifying a program

Use the IDENTIFICATION DIVISION to name a program and optionally provide other identifying information.

You can use the optional AUTHOR, INSTALLATION, DATE-WRITTEN, and DATE-COMPILED paragraphs for descriptive information about a program. The data you enter in the DATE-COMPILED paragraph is replaced with the latest compilation date.

IDENTIFICATION DIVISION.
Program-ID.    Helloprog.
Author.        A. Programmer.
Installation.  Computing Laboratories.
Date-Written.  12/21/2007.
Date-Compiled. 12/30/2007.

Use the PROGRAM-ID paragraph to name your program. The program-name that you assign is used in these ways:

Tip: When a program-name is case sensitive, avoid mismatches with the name the compiler is looking for. Verify that the appropriate setting of the PGMNAME compiler option is in effect.

related references  
Compiler limits (Enterprise COBOL Language Reference)  
Conventions for program-names (Enterprise COBOL Language Reference)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)