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 » Amend data using FileOutput node

Post new topic  Reply to topic
 Amend data using FileOutput node « View previous topic :: View next topic » 
Author Message
dosttumhara1810
PostPosted: Fri Apr 15, 2011 2:14 am    Post subject: Amend data using FileOutput node Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

Hi All,
I am using MB 6.1.0.4

Issue i am facing using Fileoutput node. I am not able to amend data to a file using this node. Everytime new file is created and previous file goes to mqsiarchive folder. Is this issue with MB. Do we have any property to set Amend mode.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 15, 2011 2:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The full list of properties that can be set are listed in the Infocenter. If you have reviewed this, and failed to find a property, it is not clear why you have asked.

No, you can not append to an existing file using FileOutput node.

You can append to an incomplete file, but once you have marked the file for complete, you can no longer append to it. And you can not START an incomplete file with an existing file, it must always start as a NEW file.

You should reexamine your requirement to append to an existing file. You might, for example, be able to use a Trace node for what you want.

Or you might find that you are using a file in a poor way and should instead use something other than a file.
Back to top
View user's profile Send private message
dosttumhara1810
PostPosted: Fri Apr 15, 2011 3:54 am    Post subject: Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

Thanks for reply
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Apr 15, 2011 4:01 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I have registered this requirement with IBM for consideration in a future release of WMB. It's a fairly obvious one.

The FTP command has an append option which is not available in WMB, but if you create a file and then FTP it some other way (e.g. a cron job) you could use the FTP append option at that time.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 15, 2011 4:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

zpat wrote:
I have registered this requirement with IBM for consideration in a future release of WMB. It's a fairly obvious one.


I don't disagree.

Except that I believe that the only kind of file you should be writing to on a continual basis is a log file.

If you have business data, that for example needs to aggregate over a period of time, you should stick it in a managed data store like a database or a queue.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Apr 15, 2011 5:07 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If I recall correctly, the MBFE Nodes which preceeded the availability of the FileInput & FileOutput nodes in V6.1 did have an 'append' option.

I always thought that this was a little mistake by IBM here.
_________________
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.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Apr 15, 2011 5:34 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

In my FTP example, the other end periodically processes the data and clears the file. But it expects the file to contain all the data sent in the intervals between these. It will arrive in more than one transfer.

Yes, I know this is what MQ is for and believe me I had that argument since the target platform has MQ on it. But they didn't want to change it.
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 » Amend data using FileOutput node
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.