can anyone explain me the concept of COMP-4 PLEASE??

Answers were Sorted based on User's Feedback



can anyone explain me the concept of COMP-4 PLEASE??..

Answer / sravani

comp& comp-4 are same. binary representation of data item. memory as like this
s9(1)-s9(4): half word that is 2 bytes
s9(5)-s9(9): full word that is 4 bytes
s9(10)-s9(18): double word that is 8bytes

Is This Answer Correct ?    6 Yes 0 No

can anyone explain me the concept of COMP-4 PLEASE??..

Answer / kannan

its similar to comp

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


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  


What is LENGTH in COBOL II?

2 Answers   CSC,


i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

5 Answers   IBM,


Which is not true about evaluate statement

0 Answers  


How to display string in the reverse order using occurs clause?

4 Answers  


What is the default value of DISP for temp datasets

5 Answers   IBM,


What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


When is inspect verb is used in cobol?

0 Answers  


can we redefine 77 level item is it possible

4 Answers   HCL,


what is meant by binary search?

4 Answers  


Categories