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 » How do I send a convert command during my get

Post new topic  Reply to topic
 How do I send a convert command during my get « View previous topic :: View next topic » 
Author Message
martyc71
PostPosted: Thu Dec 04, 2003 11:59 am    Post subject: How do I send a convert command during my get Reply with quote

Newbie

Joined: 26 Nov 2003
Posts: 5

I have a message arriving from a unix machine to my win 2000 server when I see the message via Websphere Explorer the message properties show the following:

Message Data Length: 5656
Format:
Code Character Set ID:1051
Encoding:273

Message Data
Hexadecial (only) the text option is disable.
The data displays as follow:

53 4D 53 20 52 59 31 20 SMS RY1
35 33 39 36 30 30 30 30 53960000
31 39 20 20 20 20 20 20 19
20 20 20 20 32 30 30 33 2003
31 31 30 36 35 30 30 30 11065000
30 30 30 35 36 33 5A 30 000563Z0
30 31 33 31 20 20 30 30 0131 00
30 30 33 31 32 30 30 30 00312000
30 30 30 30 30 30 30 30 00000000
34 37 32 34 36 31 36 31 47246161
30 39 34 38 34 30 30 20 0948400
20 20 20 20 20 20 20 20
20 55 53 44 0A 53 4D 53 USD.

I assume that I have to convert the message during my get program.

How do I convert this message using vb.net ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 04, 2003 12:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You specify the MQGMO_CONVERT option as part of your GetMessageOptions structure.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 04, 2003 12:08 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Specify MQC.MQGMO_CONVERT.

See page 30 of the Using .NET Manual.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Dec 04, 2003 12:10 pm    Post subject: Reply with quote

Jedi

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

Also, the sending application has not set the Format, which needs to be 'MQSTR' (but use the MQ supplied constant, not a literal).

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
martyc71
PostPosted: Thu Dec 04, 2003 12:28 pm    Post subject: Reply with quote

Newbie

Joined: 26 Nov 2003
Posts: 5

Thank you all I'll give it a try
Back to top
View user's profile Send private message
martyc71
PostPosted: Thu Dec 04, 2003 12:42 pm    Post subject: Reply with quote

Newbie

Joined: 26 Nov 2003
Posts: 5

one more question where do I find the mq series using .net guide ?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 04, 2003 12:47 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You have to download CSD05 for Windows to get it.

Eventually I think it will be available for download from the Library page.
_________________
Peter Potkay
Keep Calm and MQ On
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 » How do I send a convert command during my get
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.