Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 ?    18 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

Post New Answer

More COBOL Interview Questions

WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,

a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  

Under which scenario you would go for a static call as opposed to dynamic call?

5 Answers   TCS,

88 class is used for

5 Answers   CTS, EDS,

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

1 Answers  

IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.

2 Answers   ADNA, CSC,


3 Answers   Syntel,

How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,

What is difference between static and dynamic call in cobol?

0 Answers  

How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,

i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.

9 Answers   Syntel,

What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers