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

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

867


What are all the divisions of a COBOL program?

886


Give some examples of command terminators?

944


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1072


What is length is cobol?

858


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2239


Why did you choose to work with ibm mainframe cobol programming?

846


What is the compute verb? How is it used?

850


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

863


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

990


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

1224


How arrays can be defined in COBOL?

830


What do you understand by psb and acb?

846


State the various causes of s0c1, s0c5 and s0c7.

840


How do you define a variable of comp-1 and comp-2?

912