What is COMP-1? COMP-2?

Answers were Sorted based on User's Feedback



What is COMP-1? COMP-2?..

Answer / mahathiaz

COMP-1 - Single precision floating point. Uses 4 bytes.
COMP-2 - Double precision floating point. Uses 8 bytes

Is This Answer Correct ?    19 Yes 0 No

What is COMP-1? COMP-2?..

Answer / karan

comp-1 is single floatig item where as
comp-2 is double floating item.

comp-1,comp-2 we are not using pic clause.

Is This Answer Correct ?    5 Yes 0 No

What is COMP-1? COMP-2?..

Answer / purushothr

comp 1:single precision floating point//4 bytes
comp 2:double precision floating point//8 bytes

Is This Answer Correct ?    2 Yes 0 No

What is COMP-1? COMP-2?..

Answer / jay

COMP1 - Single precision floating point. Uses 4 bytes.
COMP2 - Double precision floating point. Uses 8 bytes

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are decleratives in COBOL ?

1 Answers   Xansa,


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.

16 Answers   IBM, TCS,


What is the different between index and subscript?

3 Answers  






File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


wht is the difference between goto and perform stmts

7 Answers   DELL,


how can you identify wheather the program is using search or search all in the cobol program?

5 Answers   iGate,


What is the difference between a DYNAMIC and STATIC call in COBOL?

2 Answers  


What do you understand by psb and acb?

0 Answers  


01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


At the minimum, which division of COBOL is enough to be coded?

3 Answers   CTS,


Categories