Posted: Mon Jan 04, 2010 5:21 am Post subject: Query On MQInput Node
Newbie
Joined: 26 Dec 2009 Posts: 7
Hi,
I am reading an input using MQInput node where I want to know the file name of the input message that has been posted on the queue. But I could not find the file name in the message header properties. Could someone help me on this.
What file name? Messages on a queue are just that. They are not files and so dont have a corresponding "file name".
If you have a scenario where something upstream takes files and puts them to a queue then this may or may not retain filename information but that depends entirely on your setup.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Beware, the MQMD.MsgId may not be unique.
You can program WMQ to send a message with your own MsgId rather than letting WMQ generate one for you.
It might be true that in your system it is unique but you should always ask the question! _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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