COBOL- GOBACK and STOP RUN

Both are correct. Goback and STOP RUN you can use in main programs. Functionally there is no difference. Goback has some special context uses. we can use in subprogram and IMS programs as well.

Stoprun we can use only in main program. We can not use in subprogram. So, GOBACK i feel is multi purpose.

Welcome your comments.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.