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

Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

0 Answers   Accenture,


how to convert the recors form vsam file to db2 table tru file aid

0 Answers   TCS,


What is amode(24)?

0 Answers  


SIGN TRAILING SEPARATE field occupy ?

3 Answers  






If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


How can you add a particular field in copybook?

2 Answers   L&T,


01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


What is Static and Dynamic linking ?

3 Answers  


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


Categories