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

how do you reference the printer file formats from cobol programs

1273


what is amode(24), amode(31), rmode(24) and rmode(any)?

1189


Write some characteristics of cobol as means of business language.

1194


) How do u handle errors in BMS macro

2099


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

2248


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

1136


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1479


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1495


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

2599


How are the next sentence and continue different from each other?

1335


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1213


What is amode(24)?

1287


Differentiate between structured cobol programming and object-oriented cobol programming.

1208


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1355


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1299