Vous êtes sur la page 1sur 1

*&---------------------------------------------------------------------*

*& Report ZM2


*
*&
*
*&---------------------------------------------------------------------*
*&
*
*&
*
*&---------------------------------------------------------------------*
REPORT ZM2
DEFINE MAC3.
PARAMETERS: A TYPE I,
B TYPE I.
DATA: ADD TYPE I,
DIFF TYPE I,
MUL TYPE I,
DIV TYPE I.
ADD = A + B.
DIFF = A - B.
MUL = A * B.
DIV = A / B.
WRITE:/ ' THE ADDITION IS....',ADD.
WRITE:/ ' THE DIFFERENCE IS....',DIFF.
WRITE:/ ' THE PRODUCTION IS....',MUL.
WRITE:/ ' THE DIVISION IS....',DIV.
END-OF-DEFINITION.
MAC3.