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

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

4 Answers  


TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

1 Answers   MNC,


What is binary search?

3 Answers  


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

2 Answers   Xansa,


IF I mention stop run in CICS what happens?

0 Answers   IBM,






What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad

8 Answers   Syntel,


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


Write a program that uses move corresponding.

0 Answers  


how can we get current dat and time thru cobol pgm

3 Answers   DELL,


how to convert vsam table into DB2 table?

1 Answers   IBM, Wipro,


how do you reference the ksds vsam file formats from cobol programs

0 Answers  


Categories