Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
3-1
3
Identification Division
The Identification Division identifies the SCREEN COBOL program. The division has
one required paragraph and five optional paragraphs. If other paragraphs are present,
they are treated as comments.
The format of the Identification Division is:
The division header is:
The header must be terminated with a period separator.
Optional paragraphs AUTHOR, INSTALLATION, DATE-WRITTEN, and SECURITY
are included for documentation purposes only. The comment-entry parameter can
be any combination of characters from the SCREEN COBOL character set and
represents text appropriate for the paragraph heading.
PROGRAM-ID Paragraph
The required PROGRAM-ID paragraph names the SCREEN COBOL program unit.
The syntax of the PROGRAM-ID paragraph is:
program-unit-name
is the user-defined name of the SCREEN COBOL program unit. The name must
follow the rules for user-defined names (see Section 2, SCREEN COBOL Source
Program) and can differ from the file name of the source code or the object file.
This name is used in a CALL statement when the program is referred to in another
SCREEN COBOL program unit. This name is also used by the PATHCOM SET
TERM INITIAL and SET PROGRAM TYPE commands.
IDENTIFICATION DIVISION.
PROGRAM-ID. program-unit-name.
[ AUTHOR. [ comment-entry ] ]
[ INSTALLATION. [ comment-entry ] ]
[ DATE-WRITTEN. [ comment-entry ] ]
[ DATE-COMPILED. [ comment-entry ] ]
[ SECURITY. [ comment-entry ] ]
IDENTIFICATION DIVISION.
PROGRAM-ID. program-unit-name.