IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

The disappearing channel


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Mon Aug 14, 2017 9:22 pm
Reply with quote

Do channels have a time limit, or something else that would cause them to disappear between sessions?

I have an application that sends data back and forth between enter sessions. Most of the time it works perfectly, but on an occasion when the program goes to get the container it gets a 122 error (Channel not found). The channel name is simple enough - the program's name (RICO) and the user's terminal ID. Neither would change between sessions. The only thing I can guess at (tried everything else) is that something is causing the channel to be deleted, and the only thought I have is if the user gets involved with something else between sessions (phone call, etc.) and somehow the system thinks it's no longer needed and deletes it automatically.

Any thoughts / ideas?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 14, 2017 9:30 pm
Reply with quote

www.ibm.com/support/knowledgecenter/en/SSGMCP_5.4.0/applications/designing/dfhp3_ch_scopeif.html#dfhp3hi appears to have relevant information:
Quote:
The scope of a channel

The scope of a channel is the code from which it can be accessed. These examples show the scope of each channel in the diagram.

The scope is important because it defines the lifetime of the channel and container storage. For more information, see Deleting channels and containers and freeing their storage.
The transaction channel DFHTRANSACTION
Channels normally go out of scope when the link level changes. They might therefore not be available to all the programs in a transaction. If you create a channel with the name DFHTRANSACTION, it does not go out of scope when the link level changes. It is thus available to all programs in a transaction, including any exit points that are API enabled. However, the transaction channel cannot be passed to a CICS region at a version earlier than 5.2.

DFHTRANSACTION can be used in all API commands that accept a channel name. However, programs cannot delete the DFHTRANSACTION channel by using the EXEC CICS DELETE CHANNEL command.
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Mon Aug 14, 2017 9:35 pm
Reply with quote

Yes, I read that earlier, but my link level isn't changing. The user comes into program "RICO" which does some data accesses then returns to the user with

EXEC CICS RETURN
TRANSID ('RICO')
CHANNEL (CA-CHANNEL-NAME)
END-EXEC.

When they hit enter next it comes right back into RICO. The channel never gets passed to a lower-level program until the very end of the conversation when they request the order to be created. This issue is happening mid-conversation, they never get to the point of passing the channel to the lower program.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 14, 2017 10:00 pm
Reply with quote

Have you opened a PMR on the issue? If not, that's probably the next thing you should do.
Back to top
View user's profile Send private message
pahiker

New User


Joined: 10 Aug 2012
Posts: 51
Location: USA

PostPosted: Mon Aug 14, 2017 10:33 pm
Reply with quote

No, thought I would ask here first in case there was something simple that I had missed, or not known about.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 14, 2017 11:41 pm
Reply with quote

If you have having intermittent problems with a channel, your site support group will definitely need to be involved, and IBM will probably need to be involved. Intermittent issues occur when something external is impacting the program(s), and your site support group / IBM are your BEST resources for figuring out what is going on.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Disappearing Channels CICS 9
No new posts QUESTION: RETURN CHANNEL CA Products 21
No new posts *MASTER*, MISSING CHANNEL AND DEVICE END DB2 2
No new posts Problem in Channel connectivity at Cl... Java & MQSeries 2
No new posts DELETE and disappearing NVRs JCL & VSAM 4
Search our Forums:

Back to Top