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 you reference the ksds vsam file formats from cobol programs
What is Pic 9v99 Indicates in COBOL?
what is search and searchall?what is the diffrence between them?give an best example?
Which mode is used to operate the sequential file?
Define cobol?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is report-item in COBOL?
How do u write test cases?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What are the rules of the move verb?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are declaratives and what are their uses in cobol?
What is the difference between comp and comp-3?