Programming Languages COBOL Subjective
Mar 15, 2013

What is the difference between comp and comp-3 usage? Explain other COBOL usages.

Detailed Explanation

Comp is a binary usage, while comp-3 indicates packed decimal. The other common usages
are binary and display. Display is the default. Comp is defined as the fastest/preferred numeric data type for the machine it runs on. IBM Mainframes are typically binary and AS400's are packed.'

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback