Multiple choice technology programming languages

Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10

  1. Only AccountNo will display

  2. SUBFL will be initialized with 13 blank records

  3. An I/O exception error will occur

  4. The screen will display 12 records with ‘NOT FOUND’

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

When EXFMT is performed on CTLR with indicator 50 off, the SFLINZ keyword initializes the subfile SUBFL with 13 blank records (SFLSIZ value). No records exist yet (condition true), so initialization occurs. AccountNo is part of the control record format CTLR, not the subfile, so it won't display alone. The 'NOT FOUND' default only appears if records are written and then cleared.