View previous topic :: View next topic
|
Author |
Message |
santsark
New User
Joined: 08 Aug 2008 Posts: 9 Location: Kolkata
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|