Hi,
Can we say that RETURN IMMEDIATE is an alternative to XCTL?
XCTL and RETURN IMMEDIATE.
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: XCTL and RETURN IMMEDIATE.
No. XCTL works at the same level of CICS code -- if you've done EXEC CICS LINK followed by another EXEC CICS LINK, the difference will be that XCTL will be on level 3 so a RETURN will take you back to the program that issued the second EXEC CICS LINK while a RETURN IMMEDIATE starts again at level 1. Hence the programs that did EXEC CICS LINK will no longer be active after RETURN IMMEDIATE whereas they will still be active after the EXEC CICS XCTL.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute