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

What is perform?

620


What are fillers? What is the actual use of fillers? With mall/simple example?

631


Explain the syntax of redefine?

586


Define redefine?

648


Explain the difference between search and searchall?

582






What is sort?

605


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

604


What is output procedure?

611


What is the actual use of fillers?

592


What is input procedure?

664


Define perform?

595


What is redefine?

624


How to update data area in cobol 400 program?

660


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

604


Explain the difference between section, paragraph and sentences?

589