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 Process Server (WID/WPS/WAS+) » How to Set Usr header into the MQHRF2 header

Post new topic  Reply to topic
 How to Set Usr header into the MQHRF2 header « View previous topic :: View next topic » 
Author Message
nikhilsharma
PostPosted: Fri Jul 10, 2009 12:34 am    Post subject: How to Set Usr header into the MQHRF2 header Reply with quote

Apprentice

Joined: 10 Aug 2007
Posts: 28

Hi...

Resolve the issue..

Scnerio:I am adding MQHRF2 header in the I/P message in WPS by adding class in the MQ Import node (Data Binding Configuration)

The Class file included following code :

output.writeMQCHAR4(MQC.MQRFH_STRUC_ID); // StrucId
output.writeMQLONG(2); // Version
output.writeMQLONG(MQC.MQRFH_STRUC_LENGTH_FIXED_2);//Structure
output.writeInt(MQC.MQENC_NATIVE); // Encoding
output.writeMQLONG(MQC.MQCCSI_INHERIT);//CodedCharSetId
output.writeMQCHAR(MQC.MQFMT_NONE);//format
output.writeInt(MQC.MQRFH_NO_FLAGS);//Flags
output.writeInt(1208);//NameValueCCSID


Problem:I am not able to include Usr into the header.It's actually added into the Message
_________________
Nikhil
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » How to Set Usr header into the MQHRF2 header
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.