Multiple choice technology mainframe

Program Name:

  1. Can have Letters, 0 - 9, Hyphen and cannot start or end with Hyphen, Maximum of 30 characters

  2. Can have Letters, 0 - 9 and should start with Letter, Maximum of 30 characters

  3. Can have Letters, 0 - 9 and should start with Letter, Maximum of 8 characters

  4. Can have Letters, 0 - 9, Hyphen and cannot start or end with Hyphen, Maximum of 8 characters

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

COBOL program names must start with a letter, can contain letters A-Z, digits 0-9, and are limited to maximum 8 characters (PIC clause). Hyphens are not allowed in program names - they are permitted in data names but not program identifiers.