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

how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?

Answer Posted / shiva

COMP1-IT OCCUPIES 4 BYTES TO STORE UP TO 18 CHARACTERS
COMP2-IT OCCUPIES 8 BYTE TO STORE UP TO 18 CHARACTERS
COMP3-IT OCCUPIES HALF BYTE FOR EACH CHARACTER AND HALF BYTE
FOR SIGN...FOR ODD DATA LENGTH SO IT OCCUPIES
(15/2=7.5)+(1/2)=7.5+0.5=8 BYTES.

Is This Answer Correct ?    21 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between array and sub-script ?

1708


What are the different data types in cobol?

1513


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2135


What are the different types of condition in cobol and write their forms.

1153


What is an in line perform? When would you use it? Anything else you wish to say about it.

1142


Difference between cobol and cobol-ii?

1343


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

1647


When is inspect verb is used in cobol?

1312


Which Search verb is equivalent to PERFORM…VARYING?

1105


Which division and paragraphs are mandatory for a COBOL program?

1331


What rules are followed by the search verb.

1196


What is the difference between PIC 9.99 and 9v99 in COBOL?

1401


how to convert the recors form vsam file to db2 table tru file aid

3312


What is cobol?

1289


) how do u code after getting data?

2210