GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  COBOL
Go To First  |  Previous Question  |  Next Question 
 COBOL  |  Question 8 of 159    Print  
What is the linkage section?
The linkage section is part of a called program that 'links' or maps to data items in the calling program's working storage. It is the part of the called program where these share items are defined.


  
Total Answers and Comments: 6 Last Update: August 14, 2007   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Azahar
 
This section allows the us to pass values to the program thru JCL.Eg:Dates for processing the data in the program.

Above answer was rated as good by the following members:
anilcvs
December 14, 2005 07:08:52   #1  
Azahar        

RE: What is the linkage section?
This section allows the us to pass values to the program thru JCL.Eg:Dates for processing the data in the program.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 19, 2006 15:44:24   #2  
DavidStagg Member Since: March 2006   Contribution: 5    

RE: What is the linkage section?
The comment of Dec 14 is NOT correct. To pull in parameters from the JCL you would use the accept verb.
 
Is this answer useful? Yes | No
June 02, 2006 15:39:56   #3  
Anish        

RE: What is the linkage section?

No you can pass values from JCL using PARM

Example

EXEC PGM=PROG1,PARM='1234'


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
May 03, 2007 09:32:38   #4  
Suganj Member Since: February 2007   Contribution: 13    

RE: What is the linkage section?
When a variable is shared by both the called program and calling program we say this as linkage section.
 
Is this answer useful? Yes | No
May 29, 2007 22:58:21   #5  
mdixonga        

RE: What is the linkage section?

I have always moved linkage section variables to working storage variables because I had been told that using the linkage variables in the Procedure Division would cause process time issues.  Could this be true, or is this an urban legend ??


 
Is this answer useful? Yes | No
August 14, 2007 03:56:39   #6  
RiddhiKavinithi        

RE: What is the linkage section?
Each parameter to be accepted or passed by a procedure must be declared in the LINKAGE SECTION.

This section lists buffers for data are common to calling and called programs. Calling parameters are set in the Linkage Section of the called programs and those parameters that the calling program needs to read after a call are set on the Linkage Section of the calling program.

Note that the Linkage Section of a calling program and its called programs are not, in general, the same.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape