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 » removing RFH2 - some problems

Post new topic  Reply to topic
 removing RFH2 - some problems « View previous topic :: View next topic » 
Author Message
miron
PostPosted: Tue Feb 25, 2003 9:58 am    Post subject: removing RFH2 - some problems Reply with quote

Apprentice

Joined: 27 Jun 2002
Posts: 39
Location: New York

Hello,

I I ran into some problems when removing RFH2 from my incoming message.
My incoming msg is MRM CWF and it is in MQHRF2 format and my outgoing msg is in MQSAPH (idoc) format.
I use following lines to strip off RFH2 in my compute node:
set Environment.Variables.usr = InputRoot.MQRFH2.usr;
set OutputRoot.MQRFH2 = NULL;
set OutputRoot.MQMD.Format = 'MQSAPH';

Here is the problem i ran into:
-When removing RFH2 header within same compute node that does transformation from incoming MRM to IDOC it looks like MQMD format is changed to MQSAPH but RFH2 NameValueData stays in the msg. I see this data before my idoc data.
-When I remove RFH2 in preceiding compute node that only strips the header everything works fine and RFH2 format and data are gone. In this compute node I checked 'Copy entire message' and included these 2 lines:
set Environment.Variables.usr = InputRoot.MQRFH2.usr;
set OutputRoot.MQRFH2 = NULL;
set OutputRoot.MQMD.Format = MQFMT_NONE;

Has anybody noticed some similar behaviour or it is something that I did wrong?

Thanks for the input.

I use WMQI 2.1 CSD04
Back to top
View user's profile Send private message
emiranda
PostPosted: Tue Feb 25, 2003 10:05 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Hi,
after copying the message, try this:

SET OutputRoot = InputRoot;
SET OutputRoot.MQRFH2 = NULL;
SET OutputRoot.MQMD.Format = 'MQSTR';
rgds
_________________
Warm Regards,
EM
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 » removing RFH2 - some problems
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.