Multiple choice technology mainframe

Maximum length of program name (compact mode) that can be specified in PROGRAM-ID is

  1. 8

  2. 10

  3. 20

  4. 30

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

In COBOL compact mode, the maximum length of a program name specified in PROGRAM-ID is 8 characters. Compact mode is designed for compatibility with older systems that had stricter naming conventions and limited identifier lengths.