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 » Deleting a file using Message Broker

Post new topic  Reply to topic
 Deleting a file using Message Broker « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Thu Jul 26, 2012 12:58 pm    Post subject: Deleting a file using Message Broker Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

I googled and couldn't fine any useful information regarding deleting a file using Message Broker.

As far as a know Fileinput Node and FileOutput node are used to read and write files. My requirement is to delete a file after FTP'ing ..

Is it possible using WMB 7.0?

Thanks in advance!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 26, 2012 3:55 pm    Post subject: Re: Deleting a file using Message Broker Reply with quote

Grand High Poobah

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

achocks wrote:
As far as a know Fileinput Node and FileOutput node are used to read and write files.


It's a shame you didn't read the InfoCenter entries on those 2 nodes, or you'd have seen that both offer the option to delete the file after processing.

achocks wrote:
My requirement is to delete a file after FTP'ing ..

Is it possible using WMB 7.0?


If the FTP server allows it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 27, 2012 10:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can delete a file using one of the many different types of Compute nodes available in the toolkit palette.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Buzz Lightyear
PostPosted: Thu Feb 01, 2018 10:59 pm    Post subject: Reply with quote

Newbie

Joined: 29 May 2017
Posts: 9

Reviving a very old thread. My question is how can one delete a file in a Compute node (ESQL) ? I have a slightly different requirement, in that, I need to delete one or more files as a part of a compensation branch-flow, as a part of house-keeping exercise should the main flow throw an exception in the midst of processing (the loop !) data.
Back to top
View user's profile Send private message
fschofer
PostPosted: Fri Feb 02, 2018 1:51 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

You can call a Java procedure from ESQL and delete the files using the Java Files.delete(path).
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Deleting a file using Message Broker
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.