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 API Support » Setting the MQMD_CodedCharSetId using Java

Post new topic  Reply to topic
 Setting the MQMD_CodedCharSetId using Java « View previous topic :: View next topic » 
Author Message
Rajiv
PostPosted: Tue Oct 05, 2004 8:12 am    Post subject: Setting the MQMD_CodedCharSetId using Java Reply with quote

Newbie

Joined: 08 Sep 2004
Posts: 8

Hi,

We have a J2EE application communicating with the HOST systems using Websphere MQ. The target system is an IMS system and the communication is using an MQ-OTMA bridge.

We perform the following -
1) Construct the MQMessage() object
2) Set the MQIIH header fields in it
3) Set the message data
4) Construct the MQPutMessageOptions() object and set its value
5) Put the message on the queue.

We have to now make sure that the MQMessage Data and the MQIIH header fields have to be set in EBCDIC and in addition also to set the MQMD_CodedCharSetId = 500 as we cannot generate certain fields in the message data in ASCII.

How do i go about setting this field as mentioned and any sample code for the same will be very useful?

Thanks a lot.

Regards,
Rajiv.
Back to top
View user's profile Send private message
siliconfish
PostPosted: Tue Oct 05, 2004 8:21 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

The conversion of all MQ Headers - MQMD and MQIIH will be taken care by the Websphere MQ.
Use the "characterSet" attribute of the MQMessage to set the coded character set identifier of character data in the application message data.
_________________
siliconfish
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 API Support » Setting the MQMD_CodedCharSetId using Java
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.