The COMPUTE statement provides the ability to perform general arithmetic computations.
COMPUTE { result [ROUNDED] } ... { = } arithmetic-expr
{ EQUAL }
[ ON SIZE ERROR statement ]
[ NOT ON SIZE ERROR statement ]
[ END-COMPUTE ]