SUBTRACT dobj1 FROM dobj2.
This statement has the same effect as statement
COMPUTE dobj2 = dobj2 - dobj1.
The content of dobj1 is subtracted from the content of dobj2 and the result is assigned to dobj2. The data objects dobj1 and dobj2 must be numeric. You cannot specify predefined functions or functional methods. The calculation type is determined as for an arithmetic expression.
Obsolete Form: SUBTRACT-CORRESPONDING
Catchable Exceptions
CX_SY_ARITHMETIC_OVERFLOW
CX_SY_CONVERSION_OVERFLOW
Non-Catchable Exceptions