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

What is sort?

534


Explain the input procedure and output procedure?

521


How to detect record is locked in cobol/400? What is the solution for that?

525


Explain the syntax of sort?

561


Explain the syntax of redefine?

520






Define redefine?

559


What are the types of perform?

571


Define redefine and its syntax?

544


What is comp?

551


Explain the difference between section, paragraph and sentences?

510


seqence numbers in cobol

2662


Define perform?

520


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

554


What is output procedure?

543


What is the syntax of sort?

540