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

what is the difference between Normal vaiable and comp
variable.

Answer Posted / suman agrawal

Using comp, the value will be stored in binary format.
The allocation in number of bytes is based on the number of
digit the variable use:

No. of digits Bytes
1-4 2 bytes
5-9 4 bytes
10-18 8 bytes

Is This Answer Correct ?    18 Yes 2 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 Oriented COBOL programming?

1098


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

5357


Name the sections present in data division.

1219


What is the difference between next sentence and continue in cobol programing language?

1195


What is a SSRANGE and NOSSRANGE?

1445


What are the pertinent COBOL commands?

3150


What is an in line perform? When would you use it? Anything else you wish to say about it.

1059


what are decleratives in cobol?

2243


What is static and dynamic call in cobol?

1047


Give some examples of command terminators?

1237


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

1216


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.

1417


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1097


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5722


how do you reference the ksds vsam file formats from cobol programs

1159