Multiple choice technology mainframe

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 ACDB 13 3456 ADSB 25 4567 DADS 15 5678 EDSC 20 READ IDENTIFICATION-TABLE BY SUPER-NAME-ID-AGE STARTING FROM 'A' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * SUPER-NAME-ID-AGE comprises fields IDENT-NAME, IDENT-ID, & IDENT-AGE in the mentioned order.

  1. 3

  2. 4

  3. 5

  4. Program will terminate abnormally

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

SUPER-NAME-ID-AGE comprises IDENT-NAME + IDENT-ID + IDENT-AGE. Starting from 'A' matches any record where IDENT-NAME starts with 'A'. All 5 names (AAAA, ACDB, ADSB, DDDD, EEEE) start with letters A through E, but since the STARTING point is 'A' and there's no THRU clause, it reads from the first matching record (AAAA) until end - all 5 records qualify.