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


Please Help Members By Posting Answers For Below Questions

Write a cobol program making use of the redefine clause.

725


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.

1695


What is the problem of ordered sequential files access?

692


What are the different open modes available in cobol?

713


What is the difference between goback, stop run and exit program in cobol?

918






how do you reference the variable block file formats from cobol programs

680


What is the default value(s) for an initialize and what keyword allows for an override of the default?

691


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

740


Can we redefine the field of x(200) to less than 200?

814


Give some examples of command terminators?

751


what is search and searchall?what is the diffrence between them?give an best example?

5538


What is the use of intialize verb?

742


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1899


Why did you choose to work with ibm mainframe cobol programming?

627


What is Pic 9v99 Indicates in COBOL?

720