What is the use of LINKAGE SECTION?



What is the use of LINKAGE SECTION?..

Answer / sreedhar

Linkage section is a part of data division.
This can be coded in 2 situations
1) When we want to pass data from Jcl to COBOL program using parm parameter.
2) when mainprogram communicates with sub program then we code linkage section in sub program

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

0 Answers   HeadStrong,


Explain about Redefines cluse?

3 Answers   iGate,


Explain Restart Logic in Cobol?

1 Answers   L&T, Syntel,


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  






What is the difference between static call & Dynamic call?

2 Answers   CSC, TCS,


What is the meaning of 'Eject' verb in cobol?

2 Answers   TCS, Wipro,


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?

6 Answers   L&T,


What is EIBCALEN? Why it is used?

9 Answers   ADP,


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


Categories