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 » FTPINputNode to MQPOutput Node:MQMD issue

Post new topic  Reply to topic
 FTPINputNode to MQPOutput Node:MQMD issue « View previous topic :: View next topic » 
Author Message
Vinayak.Satapute
PostPosted: Wed Mar 31, 2010 5:17 pm    Post subject: FTPINputNode to MQPOutput Node:MQMD issue Reply with quote

Acolyte

Joined: 20 Dec 2006
Posts: 70

Hi All,

I have a scenario where I need to read a file from an FTP server and push the file as MQ message to MQOutput node.
When I read the file using FTPInputNode, it does hold two children under root as OutputRoot.Properties and OutputRoot.BLOB

So I was trying to include OutputRoot.MQMD field for the outgoing MQ Message in between Properties and Blob fields using CREATE NEXTSIBLING statement but ending up in error.

Appreciate if anyone has implemented such scenraio of including the MQMD headers in the outgoing message.

Regards,
Vinayak
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 31, 2010 6:25 pm    Post subject: Re: FTPINputNode to MQPOutput Node:MQMD issue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Vinayak.Satapute wrote:
So I was trying to include OutputRoot.MQMD field for the outgoing MQ Message in between Properties and Blob fields using CREATE NEXTSIBLING statement but ending up in error.


What error? A WMQ code when the message is put? A WMB error building the tree? Or the bitstream?

Old advice is best advice. If you're getting a WMQ code look it up, if you're getting a WMB error a user trace & trace nodes are a good place to start.

Vinayak.Satapute wrote:
Appreciate if anyone has implemented such scenraio of including the MQMD headers in the outgoing message.


Yes thank you I have, or something similar. Last time I tried it there was rather more processing between file and message.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
harish_td
PostPosted: Wed Mar 31, 2010 10:40 pm    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Have you tried to use the MQHeader node for your task? You would not need a single line of ESQL.
Back to top
View user's profile Send private message Yahoo Messenger
ghoshly
PostPosted: Thu Apr 01, 2010 2:44 am    Post subject: Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Dont forget to change the MQ context in the final MQ Output node
Use "Set All" to be in safer side..
Back to top
View user's profile Send private message
Vinayak.Satapute
PostPosted: Fri Apr 02, 2010 2:19 am    Post subject: Reply with quote

Acolyte

Joined: 20 Dec 2006
Posts: 70

Hi All,

Thanks for the inputs.

Harish,
I dont see any MQHeader node present in my MB palette list. My WBIMB version is 6.1.0.6 . Please update further.

By the way It was due to wrong usage of NEXTSIBLING, I was getting the error( Children found in Compute Node and there was blank field in between of OutputRoot.Properties and OutputRoot.MQMD).

CREATE NEXTSIBLING OF OutputRoot.Properties DOMAIN 'MQMD';
has solved the probelm. Previously I was not including DOMAIN 'MQMD' .

Cheers,
Vinayak
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Apr 05, 2010 4:44 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Vinayak.Satapute wrote:

Harish,
I dont see any MQHeader node present in my MB palette list. My WBIMB version is 6.1.0.6 . Please update further.



Well, i see the node in my 6.1 toolkit palette. The infocentre also talks about it
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac60270_.htm
Back to top
View user's profile Send private message Yahoo Messenger
Vinayak.Satapute
PostPosted: Mon Apr 05, 2010 7:33 pm    Post subject: Reply with quote

Acolyte

Joined: 20 Dec 2006
Posts: 70

Hi Harish,

I referred to the link you provided for MQHeader, and it has been described that the node is present under the Websphere MQ palette but in my toolkit with version 6.1.0.6 Under Websphere MQ palette I can see that this node is not listed.

Nodes under the Webspher MQ drawer of the pallette are

MQInput
MQOutput
MQReply
MQGet
MQOptimizedFlow
MQeInput(Depricated)
MQeOutput(Depricated)



Thanks,
Vinayak
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 » FTPINputNode to MQPOutput Node:MQMD issue
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.