IDENTIFICATION DIVISION.
PROGRAM-ID. DV.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-N1 PIC 9(4) VALUE 15.
01 WS-N2 PIC 9(3) VALUE 150.
01 WS-NA PIC 9(3) VALUE 93.
01 WS-NB PIC 9(3) VALUE 18.
01 WS-NC PIC 9(4).
01 WS-REM PIC 9(3).
PROCEDURE DIVISION.
DIVIDE WS-N1 INTO WS-N2.
DIVIDE WS-NA BY WS-NB GIVING WS-NC REMAINDER WS-REM.
DISPLAY "WS-NUMBER-1 : " WS-N1
DISPLAY "WS-NUMBER-2 : " WS-N2
DISPLAY "WS-NUMBER-A : " WS-NA
DISPLAY "WS-NUMBER-B : " WS-NB
DISPLAY "WS-NUMBER-C : " WS-NC
DISPLAY "WS-REM : " WS-REM
STOP RUN.