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

How to detect record is locked in cobol/400?

538


Explain the difference between search and searchall?

513


Explain how to update data area in cobol 400 program?

576


What is the syntax of sort?

540


Explain the difference between comp & comp-3?

547






Explain the types of perform?

525


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

531


What is the actual use of fillers?

503


What are fillers?

531


Define redefine and its syntax?

544


What is output procedure?

543


Explain the input procedure?

535


Explain the syntax of sort?

561


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

525


Explain the difference between section, paragraph and sentences?

510