|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to remove an RFH header using ESQL |
« View previous topic :: View next topic » |
Author |
Message
|
sebastian |
Posted: Thu Jul 29, 2004 8:58 am Post subject: How to remove an RFH header using ESQL |
|
|
 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 |
|
 |
JT |
Posted: Thu Jul 29, 2004 9:07 am Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Thu Jul 29, 2004 10:56 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|