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

 Print  |  
Question:  How will work GOBACK statement & STOP RUN & EXIT-PROGRAM in COBOL ?



October 10, 2008 04:55:02 #2
 aratik   Member Since: October 2008    Total Comments: 2 

RE: How will work GOBACK statement & STOP RUN & EXIT-PROGRAM in COBOL ?
 
GOBACK gives the controll to main program if we have called the subprogram from the main program.

STOP RUN: This statement  halts the execution of the object program,and returns control to the system.

EXIT-PROGRAM: This statement specifies the end of a called program and returns control to the calling program.
     

 

Back To Question