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 » WebSphere Message Broker (ACE) Support » Data conversion using compute node

Post new topic  Reply to topic
 Data conversion using compute node « View previous topic :: View next topic » 
Author Message
sagwa99
PostPosted: Thu Jun 27, 2002 7:38 pm    Post subject: Data conversion using compute node Reply with quote

Novice

Joined: 14 Jun 2002
Posts: 15

To convert the incoming message from EBCDIC(not packed data) to ASCII.
Can the conversion being done using compute to set encoding & CCSID without creating MRM message set?

Compute Node (Copy entire message)
Set OutputRoot.MQMD.Encoding = 273;
Set OutputRoot.MQMD.CodedCharSetId = 437;

Thanks.
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Fri Jun 28, 2002 2:19 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

Hiya,

You could set CONVERT(YES) on your inbound channel from your EBCDIC host. The data should be in the local CCSID when it gets to WMQI.

Regs

Stuart
Back to top
View user's profile Send private message Send e-mail
CodeCraft
PostPosted: Fri Jun 28, 2002 5:42 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

It doesn't even need channel conversion set. Assuming the message is transmitted in a "known" format, eg: MQSTR, when WMQI receives the message it checks the CCSID and converts internally to UCS2 (Unicode).

What happens then is, if you change the CCSID in the properties folder/tree, when the message is output it is converted from UCS2 to whatever the specified CCSID is.

There are various reasons you might have issues with this. If this doesn't help, be more specific about the data format and requirements.
Back to top
View user's profile Send private message
sagwa99
PostPosted: Sat Jun 29, 2002 8:35 pm    Post subject: Reply with quote

Novice

Joined: 14 Jun 2002
Posts: 15

Stuart,
Thanks for your input. It works.

CodeCraft,
Would you further elaborate on how to change the CCSID in the properties folder/tree or let me know where can I get more information? I would like to give it a try.
Thanks for your recommendation.
Back to top
View user's profile Send private message
CodeCraft
PostPosted: Sun Jun 30, 2002 4:13 am    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

Set OutputRoot.Properties.CodedCharSetId = <whatever>;

The conversion is applied when the message is output (MQOutput node).
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 » WebSphere Message Broker (ACE) Support » Data conversion using compute node
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.