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 would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?

Answer Posted / santosh khot

The comp-3 Variables are called packed decimals the values
internally stored in two digits in single byte and 0.5 byte
stores the Sign ie -or + so for ur Question S9(4) Comp-3
takes 3 bytes of space

1234 will occupy Two bytes and Sign takes 0.5 bytes

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2132


how to move the records from file to array table. give with code example

2677


Write a program to explain size error.

1199


How do you define a variable of comp-1 and comp-2?

1201


How do u write test cases?

2067


What is the difference between Global and External Variables?

1377


how to convert the recors form vsam file to db2 table tru file aid

3262


How to remove 2 duplicate records and copy only one using job control language?

1219


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1355


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4171


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

1346


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

2021


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

1971


What is a report item?

1141


Write a program that uses move corresponding.

1144