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 will 128 be saved in s9 (3) comp-3
How will 12 be saved in s9 (2) comp

Answer Posted / kavithachandrashekar

comp-3 is stored as (n+1)/2 where n is number of digits.Since here n is 3 for numeric 128,(3+1)/2=2 bytes.

12 8C here c represents positive(D for negative)

Comp is stored as n/2,where n is number of digits.Since n is 2 for numeric 12,(2)/2=1 byte(1/2 word)
12 is saved as 12.

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1146


What are the access modes of START statement?

1275


how to refer the data field?

2284


How you can characterize tables in cobol?

1206


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


i need a small 3d program using inline and outline.

2219


What do you understand by psb and acb?

1129


what is search and searchall?what is the diffrence between them?give an best example?

6841


What is the difference between PIC 9.99 and PIC9v99?

1348


Have you used comp and comp-3 in your project? And how?

2488


What is comp-1 and comp-2?

1234


What are the pertinent COBOL commands?

3182


What is perform what is varying?

1183


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2155


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

1356