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 » How to forcefully close a file?

Post new topic  Reply to topic
 How to forcefully close a file? « View previous topic :: View next topic » 
Author Message
tonythomasantony
PostPosted: Tue Mar 23, 2010 11:46 pm    Post subject: How to forcefully close a file? Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi ,
I have a flow in which i am using Timeout Control and Timeout notification node. My flow writes file to directry using Fileoutput node.
If any new file generated to put in the ouput directory, my Timout notification node will trigger in 20sec and close it.
Problem is if the suport team wants to redeploy the flow or stop the flow, files which are not closed will be corrupted.
So i want a solution to decrease the timelimit to 1sec or forceful closing of the files outside broker.
Is it possible to override the values i have supplied in my flow with a new value externally?
Or any other solution for this during maintenence work ?

Regards,
Tony Thomas
Back to top
View user's profile Send private message
hallmark
PostPosted: Wed Mar 24, 2010 6:31 am    Post subject: Reply with quote

Voyager

Joined: 10 Mar 2005
Posts: 76

Is there no way you can use a message to achieve the same, something that can form part of the stop scripts/process that are used by your support guys. Without knowing full details of your flow I am thinking of an MQ Input that will close off any files that are being processed with associated decision logic to determine this is a "STOP" message.

Rob
Back to top
View user's profile Send private message
tonythomasantony
PostPosted: Wed Mar 24, 2010 7:06 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2006
Posts: 47

Hi Rob,
I think i need to modify my flow which closes all the files immediately which are open just before maintenance.The advantage is am using cache to store all the open files.

Thnaks for ur suggestions Rob.

Regards,
Tony
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 » How to forcefully close a file?
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.