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
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
What is sort?
What is input procedure?
What is comp?
Define perform?
Explain how to update data area in cobol 400 program?
What is sort? And its syntax?
What are fillers?
Explain the output procedure?
How to update data area in cobol 400 program?
What is perform?
What are the types of perform?
What is redefine?
Explain the input procedure and output procedure?
Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?