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 / nataraj

q value is 01
r value is 99

after compute p value is 100

normally value is printed left to right so u get 10
place of p

Is This Answer Correct ?    0 Yes 5 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?

4801


How many sections are there in data division in COBOL?

1184


how to move the records from file to array table. give with code example

2729


Which Search verb is equivalent to PERFORM…VARYING?

1105


Differentiate between structured cobol programming and object-oriented cobol programming.

1213


what is the use of outrecord?

2272


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1550


what is difference between cobol and cobol/400

23079


Write some characteristics of cobol as means of business language.

1196


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2064


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

1258


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

1218


How arrays can be defined in COBOL?

1298


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1268


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

3018