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

Answer Posted / srinivas yadav

It is used to reduce the Momery space.
comp2:
1)The data stored in the form of Hexa-decimal format.
2)The no. of bytes stored as s9(1)to s9(18)is 8 bytes of
memory.
3)It takes more precession values.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

714


How many sections are there in data division in COBOL?

678


Give some examples of command terminators?

756


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.

932


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.

3715






Name the divisions, which are available in a cobol program?

685


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

712


What is Pic 9v99 Indicates in COBOL?

726


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

8652


What are the access modes of START statement?

719


how do you reference the rrds file formats from cobol programs

797


What are the different rules to perform a Search?

615


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

677


What are the different rules for performing sort operation?

759


example for sub strings ? and refernce modifications whit output pls

1846