Author: pahiker
Subject: QUESTION: RETURN CHANNEL
Posted: Thu Apr 20, 2017 12:31 am (GMT 5.5)
I have an app that needs to return a large amount of data back to itself between screen sessions, so I am using channels to do that (required by our Tech Review Board, so I have no choice). The question I have is one of how CICS is functioning. The return statement is:
The return works, the map for the app is displayed, the user makes their changes and hits enter. Now, the question / problem:
I am testing using CA's Intertest, when control comes back into the program it doesn't seem to be coming back as a normal return (i.e., Intertest does not stop at the breakpoint on line 1). In order to get Intertest to stop I have to set it up as if it were stopping a background task. The original program, before the need to pass the large data, used a return with a commarea option, doing it that way Intertest regains control in it's normal method.
Does this sound right? Does CICS return to the transaction differently with channels than it does with commareas?
Subject: QUESTION: RETURN CHANNEL
Posted: Thu Apr 20, 2017 12:31 am (GMT 5.5)
I have an app that needs to return a large amount of data back to itself between screen sessions, so I am using channels to do that (required by our Tech Review Board, so I have no choice). The question I have is one of how CICS is functioning. The return statement is:
Code: |
EXEC CICS RETURN TRANSID ('RICO') CHANNEL (CA-CHANNEL-NAME) END-EXEC |
The return works, the map for the app is displayed, the user makes their changes and hits enter. Now, the question / problem:
I am testing using CA's Intertest, when control comes back into the program it doesn't seem to be coming back as a normal return (i.e., Intertest does not stop at the breakpoint on line 1). In order to get Intertest to stop I have to set it up as if it were stopping a background task. The original program, before the need to pass the large data, used a return with a commarea option, doing it that way Intertest regains control in it's normal method.
Does this sound right? Does CICS return to the transaction differently with channels than it does with commareas?