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

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

1256


What are literals?

1073


What is the use of intialize verb?

1178


Which division and paragraphs are mandatory for a COBOL program?

1191


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

2479


How many bytes S(8) comp field occupy and its maximum value?

2085


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1053


In COBOL, what is the different between index and subscript?

1184


What is report-item in COBOL?

1091


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1116


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1142


How do you differentiate between cobol and cobol-ii?

1126


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3205


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

17793


What kind of error is trapped by on size error option?

1176