Using an arithmetic statement with a variable of type decimal generates an error message ‘error COBCH0034 : Operand DECVALUE3 should be numeric’. Using the MOVE statement does not generate an error. I can do arithmetic operations using the SET statement but it would be easier using arithmetic statements when converting existing Cobol programs.
↧