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 » MQSTR

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 MQSTR « View previous topic :: View next topic » 
Author Message
giridhararm
PostPosted: Tue Oct 18, 2011 3:49 am    Post subject: MQSTR Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

can any one tell me what is MQSTR pls am very new to this

how to set this in dotnet api pls
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Oct 18, 2011 3:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The documentation can tell you this.

Please read the documentation.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 18, 2011 4:45 am    Post subject: Re: MQSTR Reply with quote

Grand High Poobah

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

giridhararm wrote:
can any one tell me what is MQSTR pls am very new to this


New? You first posted back in 2009!

(Admitedly not since - what happened?)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
giridhararm
PostPosted: Tue Oct 18, 2011 4:46 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

tried in 2009 unsucessul
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Oct 18, 2011 4:49 am    Post subject: Reply with quote

Grand High Poobah

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

giridhararm wrote:
tried in 2009 unsucessul


And in the intervening 3 years you've had no oppertunity to read the InfoCenter? Or take a training course?

Seriously, this is a very, very basic question and slightly silly. If you don't know enough about .NET or it's interface to WMQ (or indeed WMQ itself) you have to ask this you're going to struggle putting a .NET application together.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
giridhararm
PostPosted: Tue Oct 18, 2011 4:50 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

got the message thq
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Oct 18, 2011 5:00 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It is a value used in the MQMD.Format field.

Generally should be used for any string message (XML, Cobol etc).

Always set this before a MQPUT, as the IBM default is unhelpfully none.
Back to top
View user's profile Send private message
giridhararm
PostPosted: Tue Oct 18, 2011 5:02 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

the problem is we are using a thrid party tool while we are sending string it is showing some special characters dont know why asked clinet asked me put message using MQSTR
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Oct 18, 2011 5:13 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

What tool is this?

What code page (CCSID) is the message data?

What code page (CCSID) value in in the MQMD.CCSID field?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 18, 2011 5:36 am    Post subject: Reply with quote

Grand High Poobah

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

giridhararm wrote:
we are sending string it is showing some special characters


Showing where? If it's at the front are you certain the .NET isn't using XMS & adding an RFH2 that isn't wanted?

giridhararm wrote:
dont know why


And what investigations have you done to increase your knowledge?

giridhararm wrote:
put message using MQSTR


Are you sure .NET isn't already doing that? What does the Format field of the MQMD show on the problem message?

(Behold, a fish that isn't a trout!)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
giridhararm
PostPosted: Tue Oct 18, 2011 6:09 am    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

i will send u clear posting by tommroow thq
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Oct 18, 2011 6:45 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It may well be a Byte Order Mark at the front of UTF 8 data.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 18, 2011 6:52 am    Post subject: Reply with quote

Grand High Poobah

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

zpat wrote:
It may well be a Byte Order Mark at the front of UTF 8 data.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 18, 2011 8:22 am    Post subject: Reply with quote

Grand High Poobah

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

More likely I'd expect the problem is due to the fact that 'MQSTR' is not equal to MQFMT_STRING which should have been used instead... and that may well be causing problems.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
giridhararm
PostPosted: Tue Oct 18, 2011 5:47 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Apr 2009
Posts: 28

hi here is the ecoding is private int _encoding = 1208;
if (_native)
mqMsg.Encoding = MQC.MQENC_NATIVE;

mqMsg.Format = MQC.MQFMT_STRING;
mqMsg.CharacterSet = _encoding;
any idea do i need to post more
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » IBM MQ API Support » MQSTR
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.