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 IndexWebSphere Message Broker SupportWrite file in UTF-8 format using java compute and fileoutput

Post new topicReply to topic
Write file in UTF-8 format using java compute and fileoutput View previous topic :: View next topic
Author Message
ramesh.patil
PostPosted: Wed Sep 05, 2018 9:55 pm Post subject: Write file in UTF-8 format using java compute and fileoutput Reply with quote

Newbie

Joined: 16 Dec 2015
Posts: 9

I'm trying to write using java compute node-->Fileoutput node. The file is written in ANSI encoding format but i want it to be written in UTF-8 format. I have verified the MQ Properties encoding it is CCSID 1208 and encoding 546. Can someone help me to resolve this issue.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Thu Sep 06, 2018 1:24 am Post subject: Reply with quote

Master

Joined: 17 Jul 2017
Posts: 209
Location: UK

hi...the MQ properties you mentioned, I suppose you are seeing this on the MQInput node (it is not mentioned whether the flow is using MQInput as input).

Anyway you need to crosscheck how the CCSID/Encoding is set for the output message generated in the JCN before it is send out the FileOutput node. Ideally it should be set explicitly at the Output message tree (Output.Properties in this case) instead of simply copying from the Input header as it is not necessary that Source/Destination systems can deal with the same CCSID/Encoding.

You can check whether the output CCSID/Encoding are getting set by using a Trace node or via Toolkit flow debug mode.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Sep 06, 2018 1:57 am Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 838

The answer depends on which domain you are using when constructing the output message. What is your message format, and which domain are you using for OutputRoot?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportWrite file in UTF-8 format using java compute and fileoutput
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.