Posted: Fri Jul 09, 2004 5:59 am Post subject: Codepage translation
Novice
Joined: 07 Oct 2002 Posts: 15 Location: Sundsvall, Sweden
Hi!
Guess this question is basic to most of you but it has generated at lot of frustration for me.
I'm new to MQ but have successfully installed a queue manager on a Windows 2000 server and set up communication to a QM on z/OS. I'm able to send and receive messages but the data I receive is unreadable. Codepage on the host is 500.
I'm using VS.NET and the sample programs that ships with service pack 7 to verify the installation.
This is a code fragment from the example program vmqsget.vb which I'm using
.
.
Dim mqMsg As MQMessage
Dim mqGetMsgOpts As MQGetMessageOptions
mqMsg = New MQMessage
mqGetMsgOpts = New MQGetMessageOptions
mqGetMsgOpts.WaitInterval = 15000
mqQueue.Get(mqMsg, mqGetMsgOpts)
If (mqMsg.Format.CompareTo(MQC.MQFMT_STRING) = 0) Then
<do something>
Else
<do something>
End If
.
.
Guess it's possible to add some options to activate the translation between codepages, but I can't figure out what!????????????
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