MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stop Run in CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
madan777in
Beginner


Joined: 07 Dec 2005
Posts: 12
Topics: 6

PostPosted: Fri Dec 01, 2006 9:36 am    Post subject: Stop Run in CICS Reply with quote

Hi ,

I believe there is no Stop Run in CICS ,if so how cics pgms is ending ? why Stop run is not accepting CICS environment .

Your answer is highly aprreciated .

Thannks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12354
Topics: 75
Location: San Jose

PostPosted: Fri Dec 01, 2006 10:58 am    Post subject: Reply with quote

madan777in,

You CAN use STOP RUN and GOBACK can be used in CICS Cobol Programs (depending on the version of the Compiler). They are both equivalent to an EXEC CICS RETURN (without the TRANID option).

The old compilers do NOT allow stoprun statement in CICS program.
It is a norm to use EXEC CICS RETURN which will transfer control back to whatever called it - either another program or CICS itself.

Hope this helps...

Cheers

kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group