Multiple choice technology mainframe

Data in the database ------------------------------- IDENT-ID IDENT-NAME IDENT-AGE 1234 AAAA 12 1234 AAAA 12 3456 CCCC 14 6879 DDDD 17 7625 EEEE 21 HISTOGRAM IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1234' WRITE IDENT-ID IDENT-NAME IDENT-AGE END-HISTOGRAM How many records will be displayed in the output?

  1. No records will be displayed

  2. 5

  3. 4

  4. 3

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

A Natural HISTOGRAM statement reads a descriptor, returning one loop cycle per unique value. Starting from '1234', there are four distinct descriptor values present: '1234 AAAA 12', '3456 CCCC 14', '6879 DDDD 17', and '7625 EEEE 21'. The duplicate '1234' record does not produce an extra iteration.