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
How do define dynamic array in cobol.
What are the pertinent COBOL commands?
Which mode is used to operate the sequential file?
In COBOL programming, what is PERFORM? What is VARYING?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What is the use of intialize verb?
What is the difference between PIC 9.99 and PIC9v99?
How to print 10 to 1 if the input have only 10 digit number?
Can we redefine the field of x(200) to less than 200?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
what is search and searchall?what is the diffrence between them?give an best example?