What is the difference between comp & comp-3?

Submitted by: Administrator
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
Submitted by: Administrator

Read Online IBM COBOL400 Job Interview Questions And Answers