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
What is input procedure?
Define redefine and its syntax?
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
Explain how to detect record is locked in cobol/400? What is the solution for that?
Explain what all the conditiones required for using open opcode on a file?
Explain how to update data area in cobol 400 program?
Explain the output procedure?
Explain the difference between section, paragraph and sentences?
What are fillers? What is the actual use of fillers? With mall/simple example?
Define sort?
seqence numbers in cobol
Explain the difference between comp & comp-3?
How to detect record is locked in cobol/400? What is the solution for that?
What is the syntax of redefine?
What is comp?