IBM COBOL400 Question: Download Questions PDF
What is comp?
![IBM COBOL400 Interview Answer IBM COBOL400 Interview Question](https://globalguideline.com/public/images/interview/1.png)
Answer:
"COMP" in Cobol = Binary storage format(if -ve bit is ON,
if +ve bit is OFF)
COMP-1 = Single precision floating point. Uses 4 bytes.
COMP-2 = Double precision floating point. Uses 8 bytes.
COMP-3 = packed decimal format. Uses 4 bytes.
Example 01 WS-VAR USAGE COMP-1.
if +ve bit is OFF)
COMP-1 = Single precision floating point. Uses 4 bytes.
COMP-2 = Double precision floating point. Uses 8 bytes.
COMP-3 = packed decimal format. Uses 4 bytes.
Example 01 WS-VAR USAGE COMP-1.
Download IBM COBOL400 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the difference between comp & comp-3? | What is PERFORM? and its types? |