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

Write down the divisions of cobol program?

838


Why would you use find and get rather than to obtain?

898


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

1880


How do we get current date from system with century in COBOL?

1058


IF I mention stop run in CICS what happens?

2087


What are various search techniques in cobol? Explain.

859


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

1000


Which is not true about evaluate statement

2090


How do define dynamic array in cobol.

857


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

855


i want a program using by if, evaluate , string, unstring, perform, occurs?

4344


What are the access modes of START statement?

932


What is the usage of comp fields in cobol?

869


Explain how to differentiate call by context by comparing it to other calls?

899


What is the utilization of copybook in cobol?

878