The ALPHABETIC class of characters defined by the ALPHABETIC class test consists of the 26 uppercase letters, the 26 lowercase letters, and the space.
MOVE "AbC dE" TO PIC-X6. IF PIC-X6 IS ALPHABETIC THEN DISPLAY "NOCMPR2".