PROGRAM FILE 100: EXCEPTION - STRING OVERFLOW ON READ.
    ANSI STANDARD 14.5

SECTION 100.1 EXCEPTION - STRING OVERFLOW ON READ.

THIS TEST READS A LONG STRING (65 CHARACTERS) INTO A
VARIABLE. IN ORDER TO PASS, THE PROCESSOR MUST EITHER:

1) CORRECTLY ACCEPT THE STRING AND RETAIN ITS VALUE IN
   THE VARIABLE, AS DEMONSTRATED IN THE PRINTING, OR

2) DETECT STRING OVERFLOW, REPORT THE EXCEPTION AND
   TERMINATE THE PROGRAM, AS THIS EXCEPTION IS FATAL.

               BEGIN TEST

ABOUT TO ATTEMPT READ. FATAL EXCEPTION MAY OCCUR NOW:

IF THIS LINE PRINTS, NO EXCEPTION SHOULD HAVE BEEN REPORTED
AND THE TWO LINES BELOW (BEGINNING WITH 'ABC' AND ENDING
WITH 'XYZ') SHOULD BE IDENTICAL. OTHERWISE,
***  TEST FAILS  ***

(FIRST LINE IS CONSTANT, SECOND IS FROM THE VARIABLE.)

ABC12345678901234567890123456789012345678901234567890123456789XYZ
ABC12345678901234567890123456789012345678901234567890123456789XYZ

               END TEST

END PROGRAM 100
