Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / g venkatesh

Answer is D.
as data name length is 9(2).9(2) after the operation
the value will get over flow.
it will routed to on size error display

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program using by if, evaluate , string, unstring, perform, occurs?

4702


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2090


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1206


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1629


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

1306


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

1185


What are the different rules of SORT operation?

1122


Explain how to differentiate call by context by comparing it to other calls?

1166


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2519


How do you define a variable of comp-1 and comp-2?

1188


Discuss about changing dataset name in proc.

1215


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1152


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

1308


Can a Search can be done on a table with or without Index?

1274


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17850