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 Java / JMS » CCSID / Encoding

Post new topic  Reply to topic
 CCSID / Encoding « View previous topic :: View next topic » 
Author Message
bamboozled_by_MQ
PostPosted: Tue Dec 14, 2004 9:09 am    Post subject: CCSID / Encoding Reply with quote

Voyager

Joined: 07 Jan 2004
Posts: 75

if I was placing a message from a linux or windows server running WAS 5.1 to an OS400 system, as bytes, (ascii 2 ebc) do I need to set these fields for can I just write the bytes to the bytesmessage (target queue is MQ) and send it by dropping it in the remote queue?

Note:don't have the option of setting to MQSTR. must be MQFMT_NONE
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 14, 2004 12:04 pm    Post subject: Reply with quote

Grand High Poobah

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

What do you mean, you don't have the option of using MQSTR ?
Can you be more specific ?
Back to top
View user's profile Send private message Send e-mail
bamboozled_by_MQ
PostPosted: Tue Dec 14, 2004 1:20 pm    Post subject: Reply with quote

Voyager

Joined: 07 Jan 2004
Posts: 75

there is some binary data, so I have to send it as a bytesmessage with MQFMT_NONE
Back to top
View user's profile Send private message
slaupster
PostPosted: Wed Dec 15, 2004 2:40 am    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2004
Posts: 41

Java generally does not have to worry about encoding or character set issues because writing the bytes in the first place using java api (and Java/JMS MQ API) will have default representations, ie big endian encoding and UTF8 character set, unless you tinker with them. So when you pull the bytes out of the message and read some and create a String/int etc., the platforms native encoding and character set doesn't come into play because java has its own and doesn't care.

Only if one of the apps is not Java does it matter, but since you are using a bytesmessage it doesn't sound like that is the case.
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 Java / JMS » CCSID / Encoding
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.