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

how would you resolve sb37 and SE37?

2 Answers   Hewitt,


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

2 Answers   TCS,


What is the different between index and subscript?

3 Answers  


2)Where the Plan is located in CICS-DB2?

1 Answers   IBM,


I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,






What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  


soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?

7 Answers   CitiGroup, IBM,


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


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

1 Answers  


What does the initialize statement do ?

2 Answers  


diffrence between renames and redifnes with examples

3 Answers   IBM,


Categories