What happens during compile time and run time with the program ID that is used in cobol programs. That is I want to know what happens with the program id written in cobol programs. Any idea would help me get a deep knowledge in this aspect.
Printable View
What happens during compile time and run time with the program ID that is used in cobol programs. That is I want to know what happens with the program id written in cobol programs. Any idea would help me get a deep knowledge in this aspect.
Program-ID is the name that will be given to the object during compilation. The program Id is used during compile time to create separate load. But even I want to know the interesting fact of what would happen with program id during run time.
Identification Division:
This is the first division and the program is identified here. Paragraph PROGRAM-ID followed by user-defined name is mandatory. All other paragraphs are optional and used for documentation. The length of user-defined name for IBM COBOL is EIGHT.
IDENTIFICATION DIVISION.
PROGRAM-ID. PROGRAM NAME.
AUTHOR. COMMENT ENTRY.
INSTALLATION. COMMENT ENTRY.
DATE-WRITTEN. COMMENT ENTRY.
DATE-COMPILED. COMMENT ENTRY.
SECURITY. COMMENT ENTRY.