|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQGET in RPGLE failing with RC2186 |
« View previous topic :: View next topic » |
Author |
Message
|
anilmnair |
Posted: Wed Mar 18, 2009 4:23 am Post subject: MQGET in RPGLE failing with RC2186 |
|
|
Newbie
Joined: 10 Mar 2009 Posts: 4
|
Hi
The MQGET failing with the Reason code 2186 when executing the second time in the loop. The MQGET runs fine for the first time but it fails for second time. Please find the code below.
Code: |
Eval Buflen = 274
Eval Gmopt = CMCONV
Eval Mdcsi = 37
Dow CcCode <> CcFail
Eval Buffer = *Blanks
Callp Mqget(Hconn:Hobj:Mqmd:Mqgmo:Buflen:Bufptr:
Msglen:Ccode:Reason)
EndDo
The reason 2186 says |
|
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 5:58 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
When you looked up 2186 in the WMQ Messages manual, what did it say 2186 meant? What did it say to do to resolve this? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
anilmnair |
Posted: Thu Mar 19, 2009 5:04 am Post subject: Explanation of RC2186 |
|
|
Newbie
Joined: 10 Mar 2009 Posts: 4
|
RC2186
(2186)
Explanation:
On an MQGET call, the MQGMO structure is not valid, for one of the following reasons:
• The GMSID field is not GMSIDV.
• The GMVER field specifies a value that is not valid or not supported.
• The parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
• The queue manager cannot copy the changed structure to application storage, even though the call is successful. This can occur, for example, if the pointer points to read-only storage. |
|
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
|
|
|
|