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

Suppose i want to declare a binary comp fild of 7 byte .how
to write?

Answer Posted / sudheer

COmp will take 2byte pic size-1-4
4byte pic size 5-9
8byte pic size 10-18

if we use comp-3 it will take n/2+1/2 byte extra for sign if
pic is odd no.if it is even it will take n/2.

my answer is 8 bytes

pls let me know if any thng wrong

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1410


What rules are followed by the search verb.

1123


What is link edit in cobol?

1200


What is the difference between binary search and sequential search?

1093


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1116


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1242


Define static linking and dynamic linking.

1200


In COBOL, what is the different between index and subscript?

1245


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

1254


Give some examples of command terminators?

1264


Name the sections present in data division.

1251


What is the difference between Global and External Variables?

1380


How do you reference the following file formats from cobol programs?

1164


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

2679


What are the pertinent COBOL commands?

3181