Multiple choice technology mainframe

Which is the mandatory paragraph in the Identification Divion in a cobol program.

  1. AUTHOR

  2. DATE-COMPILED

  3. PROGRAM-ID

  4. PROGRAM-NAME

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

PROGRAM-ID is the only mandatory paragraph in the IDENTIFICATION DIVISION of a COBOL program. Every COBOL program must have a PROGRAM-ID paragraph that uniquely identifies the program name. Other paragraphs like AUTHOR, DATE-WRITTEN, DATE-COMPILED are optional and may be omitted. PROGRAM-NAME is not a valid COBOL paragraph name.