Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the concept of the COMPUTATIONAL-3 clause.
Answer: The COMPUTATIONAL-3 (COMP-3) clause in COBOL is used to define packed-decimal data items. It represents decimal numbers in a packed format for efficient storage.

Example:

01 AMOUNT PIC 9(5) COMP-3.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook