I have created a Transaction say AB01 which executes program A and after the execution to exit from the Map I have the following commands
EXEC CICS SEND CONTROL ERASE END-EXEC.
EXEC CICS RETURN END-EXEC.
EXEC CICS RETURN END-EXEC.
My expectation is I wanted to return to CICS but instead the session freezes and I get session ended in CICS. ( I say it doesn't loop as the usage count doesn't increase)
I am not very sure how to exit out of the freeze and return back to CICS.
What should I do?