GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  COBOL
Go To First  |  Previous Question  |  Next Question 
 COBOL  |  Question 128 of 162    Print  
What happens if we code Exit program instead of Stop Run in main program

  
Total Answers and Comments: 3 Last Update: July 08, 2009     Asked by: Bhairon Singh Rathore 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 03, 2008 08:44:43   #1  
ranjanoec Member Since: June 2008   Contribution: 1    

RE: What happens if we code Exit program instead of Stop Run in main program
it will not return back to the control.
 
Is this answer useful? Yes | No
October 17, 2008 05:02:09   #2  
suma_infy Member Since: July 2008   Contribution: 3    

RE: What happens if we code Exit program instead of Stop Run in main program
If Exit program is coded in the main program it will throw abend 4038 (compilation error) since it wont be able to return control to the O.S
 
Is this answer useful? Yes | No
July 08, 2009 13:58:25   #3  
UmeshShet Member Since: June 2008   Contribution: 3    

RE: What happens if we code Exit program instead of Stop Run in main program
It will not return control to OS.

Exit Program returns the control from sub-program to main-program.

 
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