GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 27 of 55    Print  
How can i run sun routine program and how it link to main program?

  
Total Answers and Comments: 3 Last Update: October 17, 2006     Asked by: Rajkumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 09, 2006 15:43:39   #1  
keerthi kiran Member Since: October 2006   Contribution: 3    

RE: how can i run sunroutine program and how t link t...
sub routine is a program which we call from main program by using static or dynamic call. We give this link in linkage section of Data division. For sub routine u should run 2 loadlibs if u are calling with dynam and for static only 1 loadlib is enough
 
Is this answer useful? Yes | No
October 14, 2006 12:59:29   #2  
Soumya        

RE: how can i run sunroutine program and how it link t...
You can run a subroutine by calling it through a main program.That you hav to define in the linkage section of the main program
 
Is this answer useful? Yes | No
October 17, 2006 22:49:47   #3  
ofcourseman Member Since: October 2006   Contribution: 10    

RE: how can i run sunroutine program and how it link t...

At first you need to bind your sub routine to translate them into load module.

Secondly code the interface parameter in linkage section of main program.

At last write a call statement to link the sub routine.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape