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

when COMP-3 is preferrable?

Answer Posted / kiran

Hi friends Both are correct and you can make use of them as
your reference.
Packed Decimal representation. Two digits are stored in
each byte. Last nibble is for
sign. (F for unsigned positive, C for signed positive and D
for signed negative)
Formula for Bytes: Integer ((n/2) + 1)) => n is number of
9s.

if you need more than 18 decimal digits, you must use COMP-
3 (or DISPLAY) as COMP variables cannot exceed 18 digits
while COMP-3 can be up to 31 digits.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol?

1298


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1167


) what is the difference between AID and HANDLE AID?

2200


What do you understand by psb and acb?

1181


What is the compute verb? How is it used?

1187


How do you reference the fixed block file formats from cobol programs

1286


What are the various section in data division and briefly explain them.

1251


What are the access modes of START statement?

1326


Are you comfortable in cobol or jcl?

1091


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5427


What is static and dynamic call in cobol?

1115


How do we get current date from system with century in COBOL?

1424


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2187


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

1130


What is the Purpose of Pointer in the string?

1125