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

should I use Go back in the main program ? Yes we can use Go back in main program as well.

2 Answers   Xansa,


What is a subscript ?

3 Answers  


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


What is SET TO TRUE all about, anyway?

5 Answers  


Differentiate between structured cobol programming and object-oriented cobol programming.

0 Answers  






plz,could any one tell me? what about EBCDIC in cobol?briefly?

1 Answers  


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


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  


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


what is the use of filler in cobol programing?

4 Answers   MAT,


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


how you will define variables length in cobol.

3 Answers   Temenos,


Categories