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...

01 ws-p pic 9(2).
01 ws-q pic 9(2) value 01.
01 ws-r pic 9(2) value 99.

p.d.

compute p = q + r
what will be result of p ans(00) but my question is that

how i got 10 on the place of 00.
(truncation will ocuure on right side not left).

please tell me ?


Answer Posted / reddy kanupuru

u will get 00 only.

Because any numeric move will start from decimal pont

for exp : as per the given ques

compute p = q+r =100

here the decimal point is placed at the right side .

100.

so if u move that to 99 , means before point two digits
(00) will be moved .

another exp:

q = 99v99

01 r pic 99v99 value 100.345
move r to q

the value is 00v34

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the LINKAGE SECTION used in COBOL?

1487


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1105


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1083


Write the code implementing the perform … varying.

1027


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9039


What is report-item in COBOL?

1120


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1123


When is inspect verb is used in cobol?

1200


Explain the configuration section of a cobol program with examples of syntax.

1142


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

1151


How many sections are there in data division in COBOL?

1097


How do define dynamic array in cobol.

1102


How you can characterize tables in cobol?

1162


Explain what you understand by passing by value.

1116


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2497