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 / g venkatesh
Answer is D.
as data name length is 9(2).9(2) after the operation
the value will get over flow.
it will routed to on size error display
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is a report item?
) How do u handle errors in BMS macro?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Can a Search can be done on a table with or without Index?
What is the usage of comp fields in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
In which area will you utilize 88 level items in cobol?
What is amode(31)
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do you define a variable of comp-1 and comp-2?
What the difference is between continue and next sentence?
Have you used comp and comp-3 in your project? And how?
how do you reference the fixed unblock file formats from cobol programs
What are 77 levels used for?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.