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

which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks

1 Answers  


How to Write the RESTART Logic Using COBOL?

4 Answers   GalaxE, L&T, Syntel, TCS,


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,


Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand

4 Answers   TCS,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,






What is Control Break processing ?

1 Answers   iGate,


what happens of we dont give time stamp in precompilation process

2 Answers  


What is the local-storage section?

0 Answers  


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

0 Answers  


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


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

5 Answers   HCL,


Can we use redefine clause in occurs clause?

10 Answers  


Categories