COBOL Questions and Answers

What kind of error is trapped by ON SIZE ERROR option?

ON SIZE ERROR option is raised when there is

  • fixed-point overflow
  • Zero raised to the zero power
  • Division by 0
  • Zero raised to a negative number
  • A negative number raised to a fractional power.