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 » Character Limit on amqsput

Post new topic  Reply to topic
 Character Limit on amqsput « View previous topic :: View next topic » 
Author Message
brian_r
PostPosted: Thu Jun 04, 2009 2:42 am    Post subject: Character Limit on amqsput Reply with quote

Apprentice

Joined: 28 Jan 2008
Posts: 31
Location: Dublin

Hi All,

When running amqsput from a command line theres seems to be a character limit of 99 characters. So if I enter a message longer than 99 chars its put into a new message.

I originally thought this was a queue parameter setting but its not as external applications can put more than 99 chars. So am I right in saying it could be something to do with my Unix session settings (Ive tried putty and Exceed) Or maybe something to do with amqsput settings but I dont think I can change this and cant find any documentation anywhere.

Thanks in advance for your help

Brian
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 04, 2009 2:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's amqsput.

There is a queue setting, as well.

But this is purely what amqsput does.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 04, 2009 2:50 am    Post subject: Re: Character Limit on amqsput Reply with quote

Grand High Poobah

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

brian_r wrote:
When running amqsput from a command line theres seems to be a character limit of 99 characters. So if I enter a message longer than 99 chars its put into a new message.


The amqsput is only a sample, and has an artificial limit of 100 characters. If you want bigger messages, just change it - IMHO most people do.

Or use one of the other free tools to put your message.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 04, 2009 2:53 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
There is a queue setting, as well.


Yes, but won't come into play at these sorts of sizes....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 04, 2009 2:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
There is a queue setting, as well.


Yes, but won't come into play at these sorts of sizes....


Unless it's very small.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 04, 2009 3:01 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Vitor wrote:
mqjeff wrote:
There is a queue setting, as well.


Yes, but won't come into play at these sorts of sizes....


Unless it's very small.


Yes, yes, fair point, I conceed that if it's been changed from the default to a much smaller value it could become an issue.

Though for the benefit of the less experienced readers I feel obliged to point out this would result in a failure reason code from amqsput rather than the input being split over multiple messages.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Character Limit on amqsput
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.