ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQRC 2080

Post new topic  Reply to topic
 MQRC 2080 « View previous topic :: View next topic » 
Author Message
ranjan1247
PostPosted: Tue Dec 02, 2014 6:48 pm    Post subject: MQRC 2080 Reply with quote

Novice

Joined: 17 Feb 2014
Posts: 20

Well I got a message in DLQ while browsing the message from the queue it is throwing 2080 error. I know what 2080 means i.e the size of message that application is putting to queue is too large than buffer size.

In order to process the message from dlq what action should be taken?
if your suggestion is increase the buffer then how?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 02, 2014 9:17 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

Search for dead-letter queue handler supplied application.
_________________
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
View user's profile Send private message
JosephGramig
PostPosted: Wed Dec 03, 2014 6:11 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

And when you read this, what conclusions did you reach?

That your application could allocate a new buffer of the size returned and try the MQGET again?

I have to assume this error is coming from the application you are using to read the DLQ, right?

What tool is that? RfhUtil or RfhUtilC or qload or what?
Back to top
View user's profile Send private message AIM Address
bruce2359
PostPosted: Wed Dec 03, 2014 6:59 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

Browsing the DLQ with what application? MQExplorer? Something else?

How big (length) is the message supposed to be? How big is it in the queue?

If runmqdlq gets the same 2080, then modify the supplied source-code MQ_INSTALLATION_PATH\tools\c\samples\dlq to make the buffer larger.
_________________
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
View user's profile Send private message
ranjan1247
PostPosted: Thu Dec 04, 2014 7:59 pm    Post subject: Reply with quote

Novice

Joined: 17 Feb 2014
Posts: 20

Its a AIX server and dont have MQ explorer.For browsing i have not used any tool just used the sample program amqsbcg.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Dec 04, 2014 10:02 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

ranjan1247 wrote:
Its a AIX server and dont have MQ explorer.For browsing i have not used any tool just used the sample program amqsbcg.

You could install the MQExplorer on Windows or Linux, and use it to remotely connect to AIX, and then browse the DLQ. You can change MQExplorer message browsing preferences to see more of the message than amqsbcg displays for you.
_________________
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
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 05, 2014 5:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
You can change MQExplorer message browsing preferences to see more of the message than amqsbcg displays for you.


Okay.

I'm interested.

What part of the message doesn't amqsbcg show you?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Dec 05, 2014 7:03 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

It's been quite some time since I looked at the source-code for amqsget, amqsbcg, and the other MQGET utilities. If memory serves, the buffer size was 100 bytes; so, if your message is longer than 100 bytes, you would receive the 2080 reason code.

Source-code is provided in the MQ installation. Expand the buffer, and recompile.
_________________
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
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 05, 2014 7:17 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Code:

MQBYTE   buffer[65536];


This is on V7.0.1.8 in windows.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 05, 2014 7:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
It's been quite some time since I looked at the source-code for amqsget, amqsbcg, and the other MQGET utilities. If memory serves, the buffer size was 100 bytes


That's amqsget - amqsbcg streams everything
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Dec 05, 2014 7:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
bruce2359 wrote:
It's been quite some time since I looked at the source-code for amqsget, amqsbcg, and the other MQGET utilities. If memory serves, the buffer size was 100 bytes


That's amqsget - amqsbcg streams everything


Well, no. amqsbcg0.c shows the same buffer size.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 05, 2014 7:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Vitor wrote:
bruce2359 wrote:
It's been quite some time since I looked at the source-code for amqsget, amqsbcg, and the other MQGET utilities. If memory serves, the buffer size was 100 bytes


That's amqsget - amqsbcg streams everything


Well, no. amqsbcg0.c shows the same buffer size.


Really?

Bugger.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Dec 05, 2014 9:16 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

From source of amqsbcg0.c:
Code:
define   BUFFERLENGTH  65535  /* Max length of message accepted */


Must be a big message...
_________________
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
View user's profile Send private message
tczielke
PostPosted: Fri Dec 05, 2014 9:42 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

Also, later versions of amqsbcg0.c set the MQGMO_ACCEPT_TRUNCATED_MSG GMO option so that larger than 64 K messages are just accepted with the truncation.

Code:
  /* Accept but truncate the data received for messages      */
  /* larger than the 64K buffer                              */
  GetMsgOpts.Options += MQGMO_ACCEPT_TRUNCATED_MSG ;
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQRC 2080
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.