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 kids file records into your cobol program?

1263


What are all the divisions of a COBOL program?

1269


What are 77 levels used for?

1150


What is amode(31)

1223


Can we change the password using ALTER? anyone tried and changed?

2077


) what is the difference between AID and HANDLE AID?

2200


What is inspect in cobol ?

1354


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

2605


What is a scope terminator give example?

1155


Write a cobol program making use of the redefine clause.

1227


How do you get the data to code the BMS macro?

2016


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

1272


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1147


What is the difference between Call and a Link?

1262


how do you reference the printer file formats from cobol programs

1279