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 » Send Message without RFH2

Post new topic  Reply to topic
 Send Message without RFH2 « View previous topic :: View next topic » 
Author Message
fcotait
PostPosted: Fri Feb 21, 2003 12:19 pm    Post subject: Send Message without RFH2 Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 63
Location: Sao Paulo - Brazil

Hi all,

I want to get a message that contains the MQRFH2 area and want to send it using the FTPSend Plug In (support pack #ia73), but the created remote file can´t have the MQRFH2, cause the plug-in adds the MQRFH2 data into the file.

Trying to remove the MQRFH2 (Set OutputRoot.MQRFH2 = NULL) I lose all the data of the message.

Any idea ?

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
yaakovd
PostPosted: Sat Feb 22, 2003 4:06 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

One of options in compute node:

1. Removing MQRFH2
SET OutputRoot = InputRoot;
SET OutputRoot.MQRFH2 = NULL;
SET OutputRoot.MQMD.Format = 'MQSTR';

2. Copy only message Body and MQMD
SET OutputBody = InputBody;
SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.MQMD.Format = 'MQSTR';
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
fcotait
PostPosted: Mon Feb 24, 2003 5:59 am    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 63
Location: Sao Paulo - Brazil

When I remove the MQRFH2 I lost domain BLOB of my message.

The 2 options I lost domain BLOB. I create OutputRoot.WKSPACE.FTPSend.FileName

SET OutputRoot = InputRoot; -- (Copy Entire Message)

DECLARE ARQ CHAR;

SET ARQ = OutputRoot.MQRFH2."usr"."File";
-- File Name for FTPSend
SET OutputRoot.WKSPACE.FTPSend.FileName = '/home/wmqi/' || ARQ;
-- I need only data of message.
SET OutputRoot = InputRoot."BLOB";

RETURN;

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Send Message without RFH2
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.