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 happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Define static linking and dynamic linking.
What is the Purpose of Pointer in the string?
How do you reference the fixed block file formats from cobol programs
What is comp-1 and comp-2?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the different open modes available in cobol?
Mention the guidelines to write a structured cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
Can we redefine the field of x(200) to less than 200?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
) how do u code after getting data?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Explain how to differentiate call by context by comparing it to other calls?