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 is the difference between index and subscript?

5 Answers   Visa,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


What are the functions like c or c++ in cobol?

2 Answers  






consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

5 Answers   TCS,


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

0 Answers  


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

0 Answers   Valtech,


Why would you use find and get rather than to obtain?

0 Answers  


What is 66 level number and where it is used in real time by software developers?

2 Answers   ITC Indian Tobacco Company, TCS,


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,


Categories