Answer Posted / syam
"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.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to detect record is locked in cobol/400?
Define redefine?
Define perform?
What are fillers? What is the actual use of fillers? With mall/simple example?
Explain the difference between section, paragraph and sentences?
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
Explain the output procedure?
Explain the syntax of redefine?
Define perform? And its types?
What is redefine?
Explain the input procedure?
Explain the difference between search and searchall?
Explain the input procedure and output procedure?
How to update data area in cobol 400 program?
What is comp?