1)what is use of linkage section?
2)what is difference between comp and comp-3



1)what is use of linkage section? 2)what is difference between comp and comp-3 ..

Answer / samay simant

answer 1) Linkage section is used to accept data from outside the program.either its parm part of Jcl or Call from any other programs,they pass data into called program thru linkage section only.

2)Comp is binary.its the type how system stores ur data.
pic s9(1)-->pics9(4) --occupies 2bytes
pic s9(5)---pic s9(8) ----4 bytes
pic s9(9)---pics9(18)-----8 bytes

comp-3 is for packed decimal data where each character occupies half byte and sign is stored in last nibble.

If wrong,plz correct me anyone

Is This Answer Correct ?    13 Yes 1 No

Post New Answer

More COBOL Interview Questions

What are the rules of the move verb?

0 Answers  


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


Explain complete concept of table handling in COBOL with an example?

2 Answers   IBM, TCS, Wipro,


What is difference between static and dynamic call in cobol?

0 Answers  


How do u write test cases?

0 Answers   IBM,






If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


Give some examples of command terminators?

0 Answers  


Have you code any new programs in COBOL ? What is the functionality of the programs?

2 Answers   Patni, Xansa,


What is Static,Dynamic linking ?

2 Answers  


can we redefine 77 level item is it possible

4 Answers   HCL,


Categories