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
Write a cobol program making use of the redefine clause.
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.
What is the problem of ordered sequential files access?
What are the different open modes available in cobol?
What is the difference between goback, stop run and exit program in cobol?
how do you reference the variable block file formats from cobol programs
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Can we redefine the field of x(200) to less than 200?
Give some examples of command terminators?
what is search and searchall?what is the diffrence between them?give an best example?
What is the use of intialize verb?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why did you choose to work with ibm mainframe cobol programming?
What is Pic 9v99 Indicates in COBOL?