On size error truncation or no effect
Please take a look at the following question and clarify if the truncation would occur or there will be no change in value of second Variable VAR2
Two variables declared as below in COBOL program
01Â VAR1Â PICÂ 9(2) VALUE IS 20
01Â VAR2Â PICÂ 9(3) VALUE IS 990
ADDÂ VAR1Â TOÂ VAR2Â ON SIZE ERROR DISPLAY ‘ON SIZE ERROR’
DISPLAY ‘VALUE OF Â VAR2Â IS =’Â VAR2
What is the value of B when it is displayed? a) 990 b) 1010 c) 101Â
d) None of the above