Stop Run in both called and calling programs !!!

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Stop Run in both called and calling programs !!!

Post by arrbee » Thu Mar 09, 2006 8:18 pm

Hi,

What happens if you have STOP RUN codes in both called and calling program?

Thanks.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

GO BACK in both called and calling programs !!!

Post by arrbee » Thu Mar 09, 2006 8:20 pm

Hi,

What happens if you have GO BACK code in both called and calling program?

Thanks.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

jaydeeppal
Member
Posts: 4
Joined: Thu Feb 16, 2006 12:24 pm

Re: Stop Run in both called and calling programs !!!

Post by jaydeeppal » Fri Mar 10, 2006 12:13 pm

arrbee wrote:Hi,

What happens if you have STOP RUN codes in both called and calling program?

Thanks.
Hi Arrbee!
If you give Stop Run in the Called program, the control won't be returned to the calling program after executing the called program. So, you need to use Go Back always in the called program to transfer the control back to it's Calling program. However, Stop Run or Go Back both work fine in the main program (or calling program).

academyindia4

Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 7:18 pm

<< Content deleted By Admin >>

academyindia4

Topic deleted by Admin

Post by academyindia4 » Mon Feb 01, 2016 10:43 pm

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others