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 » How to remove an RFH header using ESQL

Post new topic  Reply to topic
 How to remove an RFH header using ESQL « View previous topic :: View next topic » 
Author Message
sebastian
PostPosted: Thu Jul 29, 2004 8:58 am    Post subject: How to remove an RFH header using ESQL Reply with quote

Centurion

Joined: 12 Nov 2003
Posts: 110
Location: Philadelphia

I am trying to remove an RFH header from a message moving through my compute node. I am using the following code, but it does not seem to work. The message is the same length going in and coming out.

SET OutputRoot = InputRoot;
-- Enter SQL below this line. SQL above this line might be regenerated, causing any modifications to be lost.
--STRIP OFF RFH HEADER
DECLARE Ref1 REFERENCE TO OutputRoot.MQRFH;
DETACH Ref1;

I think this would be a relatively easy process, but I am having a great deal of problems with this.

any help is appreciated,
Seb
_________________
sebastian signature
Back to top
View user's profile Send private message Visit poster's website
JT
PostPosted: Thu Jul 29, 2004 9:07 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Try this instead:
Code:
SET OutputRoot.MQRFH  =  NULL;

You'll also probably have to reset the message format to MQFMT_STRING.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Jul 29, 2004 10:56 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
You'll also probably have to reset the message format to MQFMT_STRING

Actually, I'd suggest copying the Format from the RFH2 to the MQMD.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » How to remove an RFH header using ESQL
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.