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 » Data length a problem

Post new topic  Reply to topic
 Data length a problem « View previous topic :: View next topic » 
Author Message
sumeetkoshal
PostPosted: Thu Jun 01, 2006 4:57 pm    Post subject: Data length a problem Reply with quote

Novice

Joined: 22 May 2006
Posts: 10

Hi,

I am using WriteUTF function to write messages on the queue.

My problem is it puts some invalid characters in the begining & end of the message. When I am using WriteString method it puts invalid characters at the end of every above aprrox 2000 characters.

Please suggest me the solution for this.

Thanks
Sumeet
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Jun 02, 2006 6:53 am    Post subject: Reply with quote

Jedi

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

The "invalid" characters at the start of the message with writeUTF() is the length, which is normal.

The invalid characters at the end of the message is a problem with your application.

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
sumeetkoshal
PostPosted: Sun Jun 04, 2006 4:42 pm    Post subject: data length problem Reply with quote

Novice

Joined: 22 May 2006
Posts: 10

Can anybody give me a solution on this ?

Sumeet
Back to top
View user's profile Send private message
EddieA
PostPosted: Sun Jun 04, 2006 4:58 pm    Post subject: Reply with quote

Jedi

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

PM from OP:
Quote:
I aprreciated if you have given me the solution instead saying that invalid charachters in the begining is normal.

Reply, via PM:
Quote:
Three things.

I answered with what I could, based on the limited information you provided.

I am quite happy to work with you on this, provided you are prepared to pay my consulting fees, in advance.

Lastly, this is a PUBLIC forum. Do NOT PM members asking your questions.

Oh, and maybe one more. Try posting exactly the same text you sent to me on the public forum and see what results you get.

Reply:
Quote:
you are sick.

I rest my case, m'lord.

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
sumeetkoshal
PostPosted: Sun Jun 04, 2006 5:04 pm    Post subject: data length problem Reply with quote

Novice

Joined: 22 May 2006
Posts: 10

You know what instead of clicking on the PostReply button I clicked on PM.

But I think that shouldn't bother you too much as I asked you just a simple answer to my simple question. If you know the answer, probably you could have replied to that, instead of asking for the money.

I think members here are not for money... they are here to help each other.

Thanks
Sumeet
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 04, 2006 5:55 pm    Post subject: Re: data length problem Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

sumeetkoshal wrote:
You know what instead of clicking on the PostReply button I clicked on PM.

But I think that shouldn't bother you too much as I asked you just a simple answer to my simple question. If you know the answer, probably you could have replied to that, instead of asking for the money.

I think members here are not for money... they are here to help each other.

Thanks
Sumeet


Well let's look at this. Did you do your own research and try to find out WHY EddieA said that the "invalid chars" at the beginning were normal?

Did you go back to the manuals and read up on the section explaining this part and the API?

We may help but we will not spoon feed you!

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sumeetkoshal
PostPosted: Sun Jun 04, 2006 6:07 pm    Post subject: Reply with quote

Novice

Joined: 22 May 2006
Posts: 10

Thanks for such a wonderfull reply, But you know what, If I would have got those manuals which you are talking about, probably I would never had posted my query on any forums. But since I dont have that... I left with no other option...


Well Thanks to all of you for being so kind & not answering my simple question.


Thanks
Sumeet
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Jun 04, 2006 8:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

We *did* answer your simple question.

It's not our fault you chose not to learn what UTF means and how a UTF string is defined.

It's also not our fault you are unable to use simple tools like the "search" button and Google.

I hope your boss doesn't mind that you have to beg other people to teach you how to do your job.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sumeetkoshal
PostPosted: Sun Jun 04, 2006 8:10 pm    Post subject: data length problem Reply with quote

Novice

Joined: 22 May 2006
Posts: 10

Hi Guys,

Let me tell you that I have got the solution to my problem.

But I should tell you guys one thing...


"[b]You guys are Sick[/b]"

Sumeet
Back to top
View user's profile Send private message
tleichen
PostPosted: Mon Jun 05, 2006 7:51 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

And to think that this is what industry wants to hire instead of those of us with an education! It's really sad...
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 05, 2006 7:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tleichen wrote:
And to think that this is what industry wants to hire instead of those of us with an education! It's really sad...


I guess sumeet isn't the only one who doesn't know that you get what you pay for.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Jun 05, 2006 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

According to my 18 year old son "sick" means "wonderful" these days.
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Jun 05, 2006 9:41 am    Post subject: Reply with quote

Jedi

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

I think not in this context.

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
JT
PostPosted: Mon Jun 05, 2006 11:38 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Let me tell you that I have got the solution to my problem.

So, these guys got you so riled up that you went off on your own and discovered the answer.

Hmmm, seems to me they did you a service by making you self-sufficient.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Jun 05, 2006 12:36 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
I think members here are not for money... they are here to help each other.


combined with....

Quote:
Let me tell you that I have got the solution to my problem.


Great news! I look forward to you posting the solution for the benefit of others.
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 » IBM MQ API Support » Data length a problem
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.