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 scope terminator give example?
What is the use of intialize verb?
Whats the difference between search & search ALL?
Which is not true about evaluate statement
What are the pertinent COBOL
What is the problem of ordered sequential files access?
What is the usage of comp fields in cobol?
Name the sections present in data division.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What the difference is between continue and next sentence?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Name some of the examples of COBOl 11?
Difference between cobol and cobol-ii?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?