View previous topic :: View next topic |
Author |
Message |
madan777in Beginner
Joined: 07 Dec 2005 Posts: 12 Topics: 6
|
Posted: Fri Dec 01, 2006 9:36 am Post subject: Stop Run in CICS |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Fri Dec 01, 2006 10:58 am Post subject: |
|
|
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
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|