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 » Excluding files using pattern

Post new topic  Reply to topic
 Excluding files using pattern « View previous topic :: View next topic » 
Author Message
cwazpitt3
PostPosted: Tue Apr 09, 2013 10:45 am    Post subject: Excluding files using pattern Reply with quote

Acolyte

Joined: 31 Aug 2011
Posts: 61

For File Nodes, specifically FileInput, is there any way to use a regex or something in the pattern to exclude files that start with a character? Like lets say I wanted to pickup all files except ones that start with an underscore (_). Is there a way to do this with the pattern matching field?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Apr 09, 2013 10:50 am    Post subject: Reply with quote

Jedi Knight

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

No, but you can specify a matching value for the first character. There is no 'exclude' pattern, only a match pattern.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac55200_.htm
_________________
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
cwazpitt3
PostPosted: Tue Apr 09, 2013 11:20 am    Post subject: Reply with quote

Acolyte

Joined: 31 Aug 2011
Posts: 61

That's what I thought. My problem is that if I pull * files, it seems like sometimes it grabs a file before I want it to. I know I can build a file elsewhere and then push it over, but are there any other patterns I can follow? I was hoping I could build the file with an underscore and then remove it, but that is obviously not possible.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Apr 09, 2013 11:32 am    Post subject: Reply with quote

Jedi Knight

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

Yes, use a specific letter in the first character for the match pattern, 'F*.ZIP', then prepend your temp files with any other character '_' underscore, then rename the file to something that starts with 'F' when your ready for broker to read it.
_________________
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
rekarm01
PostPosted: Tue Apr 09, 2013 1:15 pm    Post subject: Re: Excluding files using pattern Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

cwazpitt3 wrote:
For File Nodes, specifically FileInput, is there any way to use a regex or something in the pattern to exclude files that start with a character?

The WMBv8 FileInput node provides a "File exclusion pattern" property, for exactly that purpose: to specify a pattern for file names to exclude from processing.
Back to top
View user's profile Send private message
cwazpitt3
PostPosted: Tue Apr 09, 2013 1:18 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Aug 2011
Posts: 61

Good to hear that the issue has been addressed. Bummer that we are nowhere near being on mb8
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 » Excluding files using pattern
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.