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

In COBOL "BEFORE" advancing is there or not ?

3 Answers  


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


Whats the difference between search & search ALL?

3 Answers   IBM,


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


What are ISOLATION LEVELS? Where do we need to specify them?

3 Answers   EXL,






) How do u handle errors in BMS macro?

0 Answers   IBM,


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

2 Answers   Xansa,


can we print comp 3 stmts how ?

3 Answers   Accenture, TCS,


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


What does the IS NUMERIC clause establish ?

2 Answers  


The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

7 Answers   Patni,


Categories