Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

The CICS Return statement is calling the same program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
santsark

New User


Joined: 08 Aug 2008
Posts: 9
Location: Kolkata

PostPosted: Fri Nov 07, 2008 2:04 pm    Post subject: The CICS Return statement is calling the same program
Reply with quote

Hi,

I'm Xpedting a program and it seems that CICS Return statement has some issue.

I have ProgA which calls ProgB through Link statement. ProgB inturn calls other programs though link only. But when I execute the statement CICS Return in ProgB the program starts from the begining. Next time when the CICS return is executed, it returns to ProgA.

How can I trace the path or know where the control will return?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Nov 07, 2008 2:29 pm    Post subject: Reply to: The CICS Return statement is calling the same prog
Reply with quote

General consideration ....

after a LINK the program will always return to the calling program
-- You go down one level in the nesting chain

so ... progB returning to progA is the natural thing to happen

if progA restarts from the beginning, I feel, it is a progA issue

are You sure that somewhere You do not have a return transid ....
with the transid being the one that triggers progA ??
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us