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 is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Can you please let me know the centre name of INS certification in Kolkata.
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 you differentiate between cobol and cobol-ii?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is a SSRANGE and NOSSRANGE?
Name the sections present in data division.
What is Pic 9v99 Indicates in COBOL?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are various search techniques in cobol? Explain.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How do we get current date from system with century in COBOL?
what is the use of outrecord?