Identification Division
The IDENTIFICATION Division describes the name, and type of program.
General Format:
{ IDENTIFICATON } DIVISION.
{ ID }
[ PROGRAM-ID. Program-n [ IS {INITIAL } PROGRAM ] . ]
{COMMON }
{RECURSIVE }
Syntax:
Program-nis a program name, which may be expressed as a data element, literal, or data returned from a function call.COMMONmay only be used in a nested program.
General Rules:
Program-nis the program name that is recognized by the debugger, and other external tools inquiring the program name.- The
COMMONclause indicates that the program can only be used in a nested program. - The
INITIALclause indicates that all file connectors and data elements are set to their initial state when the program is activated. - The
RECURSIVEclause indicates that the program may call itself while it is activated.