Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

CA Products :: RE: QUESTION: RETURN CHANNEL

$
0
0
Author: pahiker
Subject: Re: Reply to: QUESTION: RETURN CHANNEL
Posted: Mon Apr 24, 2017 4:31 pm (GMT 5.5)

RahulG31 wrote:
I don't think passing a CHANNEL name is needed if you are RETURNing the control to CICS. What will CICS do with the CHANNEL name, I guess nothing.

To me, the only time a CHANNEL name is needed in RETURN is when you are RETURNing control to another program. The program to which the control is RETURNed may do something with the CHANNEL name (get the CONTAINER(s) in the specific CHANNEL and do some processing).

There is another link that may be useful: https://www.ibm.com/support/knowledgecenter/SSGMCP_5.2.0/com.ibm.cics.ts.applicationprogramming.doc/topics/dfhp3_ch_cur_other.html

.


You are wrong on this, I just tested it. Without the CHANNEL on the RETURN statement when I go to read the channel I get:

RESP=122 CHANNELERR
RESP2=2 The channel specified on the CHANNEL option could not be found


Viewing all articles
Browse latest Browse all 8500

Trending Articles