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(7)COMP-3 field occupies?

Answer Posted / vijayamala

s9(7)comp3

n=7 , (n+1)/2 = (7+1)/2 = 4.

4 bytes will be allocated for this numeric data item.

since comp3 is a packed decimal representation, each byte
can hold 2 data items. which means it 4 bytes can occupy 8
items. In which last item is left for sign digit. So
s9(4)comp3 will have 4bytes allocated & can hold 7 data
item and 1 sign digit in it.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we redefine the field of x(200) to less than 200?

1308


What are different data types in cobol?

1231


What is comp-1 and comp-2?

1187


Write the code implementing the perform … varying.

1015


how do you reference the ksds vsam file formats from cobol programs

1127


what is the use of outrecord?

2157


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

2487


How do you reference the following file formats from cobol programs?

1123


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3174


Explain about different table spaces.

1049


What are various search techniques in cobol? Explain.

1028


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1233


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1035


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1094


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2535