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

Write a program to concert an Indexed file into Sequential file?

1 Answers   Covansys,


HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?

1 Answers  


What is SQL Code -904 and -903 in DB2 And how to handle it?

1 Answers   IBM,


Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?

6 Answers  


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  






What is COMP-1? COMP-2?

4 Answers   CitiGroup,


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


in real time what is the suitable exp where in-stream procedure is better then catalog procedure.

1 Answers  


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


how to resolve the file status 47.......

1 Answers   MMM,


Can we access the a[0] in the array ?

6 Answers   DCL, IBM,


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


Categories