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: Do not use program-names that start with prefixes used by IBM products. If you use program-names that start with any of the following prefixes, your CALL statements might resolve to IBM library or compiler routines rather than to your intended program:
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 tasks
Changing the header of a source listing
Identifying a program as recursive
Marking a program as callable by containing programs
Setting a program to an initial state
related references
Compiler limits (Enterprise COBOL Language Reference)
Conventions for program-names (Enterprise COBOL Language Reference)