Multiple choice technology mainframe

What the EXAMINE command will do

  1. to scan a field for a specific value and replace it, and/ or to count how often it occurs

  2. the first occurrence or all occurrences of the string may be replaced, deleted or counted

  3. a & b

  4. NONE

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

The obsolete COBOL EXAMINE statement (replaced by INSPECT in newer standards) is used to analyze a data item to count occurrences of a specific character, replace occurrences of a character with another, or perform both operations. Therefore, both descriptions 'a' and 'b' are correct.