estas serían otras operaciones con compute: Código
IDENTIFICATION DIVISION.
PROGRAM-ID. ARITM.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 WSC-NUM-A PIC 9(01) VALUE 5.
77 WSC-NUM-B PIC 9(01) VALUE 9.
77 WSV-RESULT-1 PIC 9(02) VALUE ZEROS.
77 WSV-RESULT-2 PIC 9(02) VALUE ZEROS.
77 WSV-RESULT-3 PIC 9(02) VALUE ZEROS.
77 WSV-RESULT-4 PIC 9(02) VALUE ZEROS.
77 WSV-RESULT-5 PIC 9(02) VALUE ZEROS.
PROCEDURE DIVISION.
010-MAIN.
*ADD
COMPUTE WSV-RESULT-1 = WSC-NUM-A + WSC-NUM-B
*SUBTRACT
COMPUTE WSV-RESULT-2 = WSC-NUM-A - WSC-NUM-B
*MULTIPLY
COMPUTE WSV-RESULT-3 = WSC-NUM-A * WSC-NUM-B
*DIVIDE
COMPUTE WSV-RESULT-4 = WSC-NUM-B / WSC-NUM-A
DISPLAY 'RESULTADO +:'WSV-RESULT-1
DISPLAY 'RESULTADO -:'WSV-RESULT-2
DISPLAY 'RESULTADO *:'WSV-RESULT-3
DISPLAY 'RESULTADO /:'WSV-RESULT-4
STOP RUN.
Y al hacer el submit me da el error de que no encuentra el modulo.
en la ejecucion:


