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 » IBM MQ API Support » Message Length for MQSIPUTC

Post new topic  Reply to topic
 Message Length for MQSIPUTC « View previous topic :: View next topic » 
Author Message
klabran
PostPosted: Wed Mar 17, 2004 9:30 am    Post subject: Message Length for MQSIPUTC Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

I need to increase the message length for a test that I am doing using mqsiputc utility.

How do I specify the message length in the mqsiputc utility?

Kevin
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Wed Mar 17, 2004 9:43 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You don't. It takes the length of the data you supply, so, increase the size of your data.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
klabran
PostPosted: Wed Mar 17, 2004 9:47 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

Eddie,

It's giving me the following error...

Buffer space has been exceeded. Increase MESSAGELENGTH.

MQSIPUT Failure.

I am doing mqsiputc QName < textfile.txt
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Wed Mar 17, 2004 9:51 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

In which case, you've got more than 32K of data.

Add "MESSAGELENGTH nnn" under OPTIONS to increase the size of the buffer. It's in the doc that comes with the utility.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
klabran
PostPosted: Wed Mar 17, 2004 10:19 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

Thanks!

Unfortunately it looks like my test data set is to big to be handled in one put call using MQSIPUTC.

MESSAGELENGTH NNN

I had to break up the message into two separate calls.

Thanks for the pointer.

Kevin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Message Length for MQSIPUTC
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.