Consider the following code:
77 A PIC 99V99 VALUE 55.35
77 B PIC 99V999 VALUE 32.754
ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!"
What will be the result ?
(a) A=88.10, B=32.754
(b) A=87.00 B=32.754
(c) A=87.10 B=32.754
(d) ERROR!!! will be DISPLAYed on the screen.
Answer Posted / milind
The previous answer is wrong.
The correct answer is (a) 88.10.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
What is rmode(any) ?
what is the use of outrecord?
how do you reference the variable block file formats from cobol programs
What is comp-1 and comp-2?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What do you understand by psb and acb?
How arrays can be defined in COBOL?
How do you define a variable of comp-1 and comp-2?
how to access the file from prodution from changeman tool and to submit a file to production
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How to know whether the module is dynamical or statistical?
Explain how you can characterize tables in cobol?
How to remove 2 duplicate records and copy only one using job control language?
When is inspect verb is used in cobol?