Multiple choice technology mainframe

Data in IDENTIFICATION-TABLE IDENT-ID IDENT-NAME IDENT-AGE ----------------------------- 1234 AAAA 23 2345 BBBB 13 3456 CCCC 25 4567 DDDD 15 5678 EEEE 20 READ IDENTIFICATION-TABLE BY SUPER-ID-NAME-AGE STARTING FROM '1235' THRu '3457' DISPLAY IDENT-ID IDENT-NAME IDENT-AGE LOOP How many number of records will be displayed in the output? * SUPER-ID-NAME-AGE comprises of all the above three fields in the mentioned order

  1. 0

  2. 1

  3. 2

  4. 3

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

The query reads records with SUPER-ID-NAME-AGE starting from '1235' through '3457'. Records with IDs 2345 and 3456 fall within this range (1235 < 2345 < 3457 and 1235 < 3456 < 3457). Record 1234 is below the range, and records 4567 and 5678 are above it. Therefore, 2 records are displayed.