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 » mqsiarchive folder for FileOutput node

Post new topic  Reply to topic
 mqsiarchive folder for FileOutput node « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Wed Jul 21, 2010 8:08 am    Post subject: mqsiarchive folder for FileOutput node Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am using WMB V61 on AIX. Can some one help me to under this statement in the info center regarding mqsiarchive folder for output.

"Files that are processed successfully by the FileOutput node are moved to the mqsiarchive subdirectory if the FileOutput node's Output file action property is set to Archive and Replace Existing File or Time Stamp, Archive and Replace Existing File."

The file output node creates the file and put it into the output folder. These files are sitting there waiting to be processed by other applications or another message flow. So when will they be archived?

I did some testing an hour ago , with the setup "Archive and Replace Existing File" specified in my output. The output files are still there. Did I miss anything?
Back to top
View user's profile Send private message
prasad.edlabadkar
PostPosted: Wed Jul 21, 2010 8:25 am    Post subject: Re: mqsiarchive folder for FileOutput node Reply with quote

Novice

Joined: 10 Feb 2006
Posts: 21
Location: Pune, India

KIT_INC wrote:
I am using WMB V61 on AIX. Can some one help me to under this statement in the info center regarding mqsiarchive folder for output.

"Files that are processed successfully by the FileOutput node are moved to the mqsiarchive subdirectory if the FileOutput node's Output file action property is set to Archive and Replace Existing File or Time Stamp, Archive and Replace Existing File."

The file output node creates the file and put it into the output folder. These files are sitting there waiting to be processed by other applications or another message flow. So when will they be archived?

I did some testing an hour ago , with the setup "Archive and Replace Existing File" specified in my output. The output files are still there. Did I miss anything?

Hi,

If you change the name of the file dynamically, this has no effect. If the file name is same, the file will be moved to mqsiarchive directory and new file will be created.
_________________
Thanks and Regards
Prasad Edlabadkar
Tech Lead - Websphere Business Integration
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Wed Jul 21, 2010 8:26 am    Post subject: Re: mqsiarchive folder for FileOutput node Reply with quote

Grand High Poobah

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

KIT_INC wrote:
These files are sitting there waiting to be processed by other applications or another message flow. So when will they be archived?


The next time the flow runs and produces (or intends to produce) another file of the same name. It says here:

Quote:
In Output file action, specify how the file is to be processed when it is complete. Choose from:
Replace Existing File, the default, to specify that if a file of the same name exists in the output directory, the new file replaces it.
Create File, to specify that a new file is created, and that if a file of the same name exists in the output directory, the new file remains in the transit directory and an exception is produced.
Archive and Replace Existing File, to specify that if any file of the same name exists in the output directory, it is moved to the archive directory before the new file is placed in the output directory. If any file of the same name exists in the archive directory, an exception is produced.
Time Stamp, Archive and Replace Existing File, to specify that if a file of the same name exists in the output directory, its name is augmented with a time stamp (a character-based version of the date and time) before being moved to the archive directory.


So the files will sit there until the flow tries to replace them, at which point the output file action will be honoured.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Wed Jul 21, 2010 8:27 am; edited 1 time in total
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Wed Jul 21, 2010 8:26 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Thanks for the clarification
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 » mqsiarchive folder for 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.