Author |
Message
|
martyc71 |
Posted: Thu Dec 04, 2003 11:59 am Post subject: How do I send a convert command during my get |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Dec 04, 2003 12:07 pm Post subject: |
|
|
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 |
|
 |
PeterPotkay |
Posted: Thu Dec 04, 2003 12:08 pm Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Thu Dec 04, 2003 12:10 pm Post subject: |
|
|
 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 |
|
 |
martyc71 |
Posted: Thu Dec 04, 2003 12:28 pm Post subject: |
|
|
Newbie
Joined: 26 Nov 2003 Posts: 5
|
Thank you all I'll give it a try |
|
Back to top |
|
 |
martyc71 |
Posted: Thu Dec 04, 2003 12:42 pm Post subject: |
|
|
Newbie
Joined: 26 Nov 2003 Posts: 5
|
one more question where do I find the mq series using .net guide ? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Dec 04, 2003 12:47 pm Post subject: |
|
|
 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 |
|
 |
|