What is the only statement in the EXIT para
-
1000-EXIT
-
EXIT
-
1000_EXIT
-
BOTH a and b
In COBOL and similar structured programming languages, paragraph names follow a specific format: numeric identifier followed by a descriptive name, with the separator being a hyphen. 1000-EXIT follows this convention correctly. Option B (EXIT) lacks the required numeric prefix, and Option C uses an underscore which is non-standard.
In COBOL, an exit paragraph is written as a paragraph name followed by a single statement, e.g. 1000-EXIT. then EXIT.. Here 1000-EXIT is only the paragraph name (a label the programmer chooses); the question asks for the only statement legally placed inside such a paragraph. That statement is EXIT, a no-op that simply returns control to the point after the PERFORM. Therefore the correct answer is EXIT (id 573319). 1000-EXIT and 1000_EXIT are naming forms, not statements, and underscores aren't even valid COBOL name separators (COBOL uses hyphens). The DB's marked answer confused the paragraph name with the statement.