Interview Questions

What is the difference between comp and comp-3 usage?

COBOL Interview Questions


(Continued from previous question...)

What is the difference between comp and comp-3 usage?

Q: What is the difference between comp and comp-3 usage? Explain other COBOL usage's.

A: Comp is a binary usage while comp-3 indicates pack decimal. The other common usage's are binary and display. Display is the default.

(Continued on next question...)

Other Interview Questions