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 » turning off the segmentation.

Post new topic  Reply to topic
 turning off the segmentation. « View previous topic :: View next topic » 
Author Message
ashu
PostPosted: Wed May 02, 2007 10:30 pm    Post subject: turning off the segmentation. Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Hello,

If you use amqsput to put a message to a ql, and provide a very long message, the message is automatically segmented into number of messages so that that curdepth of the queue shows >1 messages in it.

can we turn of this segmentation feature...how to go about it?

Thanks in adv.

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 03, 2007 12:56 am    Post subject: Reply with quote

Grand High Poobah

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

If you use amqsut to put a message, it truncates it after 100 bytes in the standard code. To put a long message you must have modified the code, so having done that you will have seen the segmentation options specified in it, all of which are described in the Application Programming Reference.

Keep in mind no single message can exceed the maximum message length for the queue, and total message length includes headers (including the xmit header which people often overlook).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu May 03, 2007 12:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

the source of amqsput can be found in amqsput0.c in the c samples directory
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ashu
PostPosted: Thu May 03, 2007 1:05 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Yes I have gathered that the segmentation property is in the MQMD and can be set in the program that puts messages...so I will have to modify the code of the amqsput.exe which seems impossible...anyways thank you for the inputs..

especially..

Quote:
Keep in mind no single message can exceed the maximum message length for the queue, and total message length includes headers (including the xmit header which people often overlook).


was very useful it resolved some of my previous troubles...

Thank you

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
ashu
PostPosted: Thu May 03, 2007 1:09 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Michael Dag wrote:
the source of amqsput can be found in amqsput0.c in the c samples directory


the problem is I am unable to compile it....the header files are causing the problem...but i'll come up with some solution for it...thank you for the attention...

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 03, 2007 1:40 am    Post subject: Reply with quote

Grand High Poobah

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

ashu wrote:
i'll come up with some solution for it


The solution is in the Application Programming Guide, which describes building applications.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ashu
PostPosted: Thu May 03, 2007 1:43 am    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Vitor wrote:
ashu wrote:
i'll come up with some solution for it


The solution is in the Application Programming Guide, which describes building applications.


I'll check immediately..thank you.

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
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 » turning off the segmentation.
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.