|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRC_HANDLE_NOT_AVAILABLE |
« View previous topic :: View next topic » |
Author |
Message
|
deepak sharma |
Posted: Wed Jul 11, 2007 9:07 pm Post subject: MQRC_HANDLE_NOT_AVAILABLE |
|
|
Newbie
Joined: 11 Jul 2007 Posts: 1
|
Hi Gurus,
I am facing this error "MQRC_HANDLE_NOT_AVAILABLE".
If the number of message exceeds 256 then it throws this error.
Regards,
Deepak |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 12, 2007 12:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
From the Info Centre:
Quote: |
2017 (X'07E1')MQRC_HANDLE_NOT_AVAILABLE
Explanation:
An MQOPEN or MQPUT1 call was issued, but the maximum number of open handles allowed for the current task has already been reached. Be aware that when a distribution list is specified on the MQOPEN or MQPUT1 call, each queue in the distribution list uses one handle.
Completion Code:
MQCC_FAILED
Programmer Response:
Check whether the application is issuing MQOPEN calls without corresponding MQCLOSE calls. If it is, modify the application to issue the MQCLOSE call for each open object as soon as that object is no longer needed.
Also check whether the application is specifying a distribution list containing a large number of queues that are consuming all of the available handles. If it is, increase the maximum number of handles that the task can use, or reduce the size of the distribution list. The maximum number of open handles that a task can use is given by the MaxHandles queue manager attribute. |
I'd do what the programmer response says as that's the most likely cause - 256 is the default value of the MaxHandles attribute mentioned above.
You need to fix it; it's a bad programming style. Any of the sample code will give you clues.
Any Moderator - this is probably best in the API section. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|