what is the difference between comp & comp-3?

Answer Posted / sainath

Comp : Store the data in Binary formate, it will take less
space compare to Comp-3.

Comp-3 : Store the data in Pack decimal,it will take more
space compare to Comp.

Example :

S9(18)

Comp : takes 4 bytes
Comp-3: takes 10 bytes

Is This Answer Correct ?    6 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the syntax of redefine?

507


seqence numbers in cobol

2646


How to detect record is locked in cobol/400? What is the solution for that?

511


Explain the difference between search and searchall?

500


What are the types of perform?

557






What is the syntax of sort?

525


Explain how to update data area in cobol 400 program?

563


What is the syntax of redefine?

521


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2051


Define redefine and its syntax?

527


What is output procedure?

529


What is sort? And its syntax?

656


Define perform?

501


Define redefine?

546


What is redefine?

540