Why we are using comp and comp-3 in real time projects?

Answers were Sorted based on User's Feedback



Why we are using comp and comp-3 in real time projects?..

Answer / harsha

Mostly COMP is used for counter fields or for Subscripts.
COMP-3 is mostly used in all sort of arithmatic
calculations.

Is This Answer Correct ?    9 Yes 1 No

Why we are using comp and comp-3 in real time projects?..

Answer / adarsh

to reduce memory usage

Is This Answer Correct ?    8 Yes 2 No

Why we are using comp and comp-3 in real time projects?..

Answer / wing

Processing speed

Is This Answer Correct ?    1 Yes 2 No

Why we are using comp and comp-3 in real time projects?..

Answer / vish

In DB2 SQL copybooks

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More COBOL Interview Questions

What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?

2 Answers   TCS,


can i use multiple when statements in search & search all ? justify ur answer?

2 Answers  


In which area will you utilize 88 level items in cobol?

0 Answers  


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?

1 Answers   Mphasis,


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

0 Answers  


what happens if parmparameter passes zero bytes to the program

0 Answers   HSBC,


Categories