       IDENTIFICATION DIVISION.
       PROGRAM-ID. Control031.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01 N PIC 9 VALUE 2.
       PROCEDURE DIVISION.
           IF N = 0
               DISPLAY "A"
           ELSE IF N = 1
               DISPLAY "B"
           ELSE IF N = 2
               DISPLAY "C"
           ELSE
               DISPLAY "D"
           END-IF.
           STOP RUN.
