what is the use of comp2 ? where can we use it with example ?

Answer Posted / kumar

Internal representation of COMP 2 data type is Hexadecimal
requires double word for the data item to store. Used for
accurate calculations ( more precessions )

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How arrays can be defined in COBOL?

663


Explain how you can characterize tables in cobol?

638


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.

3717


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

755


What is the difference between goback, stop run and exit program in cobol?

927






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

1637


What is a report item?

741


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

644


What is comp-1 and comp-2?

764


Explain what you understand by passing by value.

700


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10610


How to print 10 to 1 if the input have only 10 digit number?

811


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8164


how to access the file from prodution from changeman tool and to submit a file to production

6686


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058