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

Describe the cobol database components?

1160


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

1104


What is inspect in cobol ?

1282


Name some of the examples of COBOl 11?

3124


Write the code to count the sum of n natural numbers.

1194


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1514


What is static and dynamic call in cobol?

1047


how do you reference the variable block file formats from cobol programs

1227


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6544


explain sorting techniques in cobol program?

1179


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1202


How many sections are there in data division in COBOL?

1113


How do you differentiate between cobol and cobol-ii?

1184


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9844


What is link edit in cobol?

1178