define comp?

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


Please Help Members By Posting Answers For Below Questions

seqence numbers in cobol

2826


Explain how to update data area in cobol 400 program?

780


What is the syntax of redefine?

714


Explain the input procedure and output procedure?

679


How to update data area in cobol 400 program?

778


Define perform? And its types?

725


Explain the syntax of redefine?

671


Explain the syntax of sort?

742


What are fillers?

793


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2250


What is sort?

726


What is comp?

874


What is the syntax of sort?

694


What are fillers? What is the actual use of fillers? With mall/simple example?

710


What is redefine?

806