View previous topic :: View next topic
|
Author |
Message |
pahiker
New User
Joined: 10 Aug 2012 Posts: 51 Location: USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
pahiker
New User
Joined: 10 Aug 2012 Posts: 51 Location: USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you opened a PMR on the issue? If not, that's probably the next thing you should do. |
|
Back to top |
|
|
pahiker
New User
Joined: 10 Aug 2012 Posts: 51 Location: USA
|
|
|
|
No, thought I would ask here first in case there was something simple that I had missed, or not known about. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|