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 » WebSphere Message Broker (ACE) Support » Message bitstream smaller than expected

Post new topic  Reply to topic
 Message bitstream smaller than expected « View previous topic :: View next topic » 
Author Message
pan_khandar
PostPosted: Wed Jul 03, 2002 7:32 am    Post subject: Message bitstream smaller than expected Reply with quote

Novice

Joined: 21 Jun 2002
Posts: 17

Hi,

I am try to put message(CWF) of length 170 but it unable to read after 80 character and getting following log error:


BIP5181E: Custom Wire Format error. Message bitstream smaller than expected.

I am using amqsput for putting the message of 170 char.
Is there anything to do with queue parameters.

Thanks

Pankaj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kirani
PostPosted: Wed Jul 03, 2002 8:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I would stop my message flow before putting a message on queue using amqsput and then verify the length before passing it thru message flow.

amqsput has a limit of 100 characters, unless you have modified the program to increase buffer. Alternatively, you could use supportPac IH02 to put messages on queue.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
dp111443
PostPosted: Tue Mar 01, 2005 3:08 am    Post subject: Reply with quote

Voyager

Joined: 25 Feb 2004
Posts: 82

I would like to re-compile the amqsput source on intel linux
so I can increase the buffer size.

The problem is, I don't know anything about c. All i've done is changed the C source buffer size in the code. I don't think I need to do anything else. Can someone confirm this??

Also, when trying to compile it, im running the following command but have no idea if im using the right options:

gcc -o mqput mqput.c

I've trying running it and get:

/tmp/ccOTGV7U.o: In function `main':
/tmp/ccOTGV7U.o(.text+0xb8): undefined reference to `MQCONN'
/tmp/ccOTGV7U.o(.text+0x212): undefined reference to `MQOPEN'
/tmp/ccOTGV7U.o(.text+0x385): undefined reference to `MQPUT'
/tmp/ccOTGV7U.o(.text+0x43b): undefined reference to `MQCLOSE'
/tmp/ccOTGV7U.o(.text+0x486): undefined reference to `MQDISC'
collect2: ld returned 1 exit status

Any idea's what I need to do?

many thanks for your help.
_________________
Integration Design/Developer

IBM Certified System Administrator -
WebSphere MQ V5.3
Back to top
View user's profile Send private message
dgolding
PostPosted: Tue Mar 01, 2005 4:10 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Double post, I replied in General Discussion Forum.
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 » WebSphere Message Broker (ACE) Support » Message bitstream smaller than expected
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.