|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
amqsget - Error 2080 |
« View previous topic :: View next topic » |
Author |
Message
|
hin3407 |
Posted: Thu Nov 20, 2008 6:58 am Post subject: amqsget - Error 2080 |
|
|
Centurion
Joined: 17 Oct 2006 Posts: 120
|
I am using AMSGET to browse messages on AIX, and getting a 2080 error for message truncation.
Any ideas how I can still use this sample program without getting that error to browse the existing messages?
The Version of MQ is 6.0.2.2 |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 20, 2008 7:06 am Post subject: Re: amqsget - Error 2080 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
hin3407 wrote: |
Any ideas how I can still use this sample program without getting that error to browse the existing messages? |
Yes - change the code to a) have a buffer large enough to take the message or b) change the code to accept truncated messages.
It's only a sample - you can do what you want with it.
You might also consider some of the support pacs which provide more sophisticated message handling, but are equally free of cost. Or a commercial product. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Fri Nov 21, 2008 4:59 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
And you should consider applying maintenance. You are at 6.0.2.2 and current is 6.0.2.5. Add yourself to the notifications when fixes get released. |
|
Back to top |
|
 |
alechko |
Posted: Sat Nov 22, 2008 6:48 am Post subject: |
|
|
Apprentice
Joined: 12 Jan 2005 Posts: 37
|
You can also use the sample program amqsgbr instead which only browses the messages but accepts truncated messages.
Notice that it will only show the first 50 chars of the buffer.
Cheers,
Alik |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Nov 22, 2008 11:05 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
getting a 2080 error |
To be more precise, WMQ is returning a 2080 Reason Code to your application program.
Your application may see a Reason Code as an error, or it may not.
Reason Codes are documented in the WMQ Messages manual. _________________ 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 |
|
 |
|
|
 |
|
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
|
|
|
|