Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
The disappearing channel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
pahiker

New User


Joined: 10 Aug 2012
Posts: 50
Location: USA

PostPosted: Mon Aug 14, 2017 9:22 pm    Post subject: The disappearing channel
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 14, 2017 9:30 pm    Post subject: Reply to: The disappearing channel
Reply with quote

https://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: 50
Location: USA

PostPosted: Mon Aug 14, 2017 9:35 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 14, 2017 10:00 pm    Post subject:
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: 50
Location: USA

PostPosted: Mon Aug 14, 2017 10:33 pm    Post subject:
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 14, 2017 11:41 pm    Post subject: Reply to: The disappearing channel
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Disappearing Channels pahiker CICS 9 Thu Sep 21, 2017 6:25 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts *MASTER*, MISSING CHANNEL AND DEVICE END Manshadi DB2 2 Wed May 21, 2014 4:24 pm
No new posts Problem in Channel connectivity at Cl... Thamilselvi Java & MQSeries 2 Fri Jun 29, 2012 10:24 am
No new posts DELETE and disappearing NVRs Willem Vermeer JCL & VSAM 4 Tue Feb 07, 2012 6:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us