COMP field occupy ?

Answers were Sorted based on User's Feedback



COMP field occupy ?..

Answer / anil prajapati

internally it will store space like as
s9(n) comp where n is as
0-4 --->2 bytes
5-9 --->4 bytes
10-18 ---> 8 bytes

Is This Answer Correct ?    5 Yes 0 No

COMP field occupy ?..

Answer / prakash shrivastava

comp is a binary storage format.....

0-4 2 bytes-1/2 word



comp is binary storage format...

it occupy--
0-4 2 bytes-1/2 word
5-9 4 bytes-1 word
10-18 8 bytes-2 word

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the default value of DISP parameter?

3 Answers   IBM,


How can you display the SPOOL information ?

2 Answers  


What are the different data types in cobol?

0 Answers  


What is length is cobol?

0 Answers  


What is rmode(24)

0 Answers  






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

4 Answers   IBM,


we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


How to know whether the module is dynamical or statistical?

0 Answers  


Categories