Except that COBOL doesn’t allow an arithmetic expression there, so you have to write
COMPUTE X = X + 5.