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 ?



December 12, 2008 07:41:37 #3
 vidhyakk   Member Since: December 2008    Total Comments: 1 

RE: How will work GOBACK statement & STOP RUN & EXIT-PROGRAM in COBOL ?
 

Go-Back can be used in both main program and sub program. In the sub program it acts as Exit program and in main program it acts as stop run.
Stop Run can only be used in main program but cannot be used in sub program.
Exit- Program can be used in Sub program only.

     

 

Back To Question