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

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

ON SIZE ERROR happens in situations when the result of the arithmetic operation is larger than the fixed point field. It also happens when it is divisible by 0. Other situations that result in ON SIZE ERRORS are zero raised to zero, zero raised to some negative number or a negative number raised to a fractional power.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cobol interview questions

    What is COBOL?

    In 1959, the US Department of Defence formed CODASYL (Conference on Data Systems Language). CODASYL was formed with the..

    Cobol interview questions

    Write some characteristics of COBOL as means of business language.

    COBOL is a dominant programing language that has aided business users since few decades. Following are the features of..

    Cobol interview questions

    What are different data types in COBOL?

    COBOL supports three data types in it programming structure. They are- Alpha-numeric (X) Alphabetic (A,B,C) Numeric (1,..