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 » File exclusion pattern problem

Post new topic  Reply to topic
 File exclusion pattern problem « View previous topic :: View next topic » 
Author Message
ldtluxury
PostPosted: Tue Jun 09, 2015 6:35 am    Post subject: File exclusion pattern problem Reply with quote

Apprentice

Joined: 22 Oct 2014
Posts: 29

Hello everyone!

Could you please help with this situation.

I want to exclude files with names that begin with $ symbol.
I wrote in "File exclusion pattern" field (FileInput node) this pattern: $*
And it didn't work. The file was processed.

Why? Does broker has problems with $ symbol? Maybe it's a special char?

Thanks a lot.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 09, 2015 6:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Did you try "\$*" as an exclusion pattern?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ldtluxury
PostPosted: Wed Jun 10, 2015 11:19 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Oct 2014
Posts: 29

fjb_saper wrote:
Did you try "\$*" as an exclusion pattern?


Yes, it says:
File exclusion pattern: The filename contains either file separator "\" or "/" and is invalid
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 11, 2015 4:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

ldtluxury wrote:
fjb_saper wrote:
Did you try "\$*" as an exclusion pattern?


Yes, it says:
File exclusion pattern: The filename contains either file separator "\" or "/" and is invalid

How about "\\$*" or "\\\$*" ?
If you are looking at a regular expression it should really be "\$.*" or
back slash dollar dot star ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ldtluxury
PostPosted: Thu Jun 11, 2015 6:05 am    Post subject: Reply with quote

Apprentice

Joined: 22 Oct 2014
Posts: 29

fjb_saper wrote:
ldtluxury wrote:
fjb_saper wrote:
Did you try "\$*" as an exclusion pattern?


Yes, it says:
File exclusion pattern: The filename contains either file separator "\" or "/" and is invalid

How about "\\$*" or "\\\$*" ?
If you are looking at a regular expression it should really be "\$.*" or
back slash dollar dot star ...


No. It still says that I can't use backslash.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 11, 2015 6:17 am    Post subject: Reply with quote

Grand High Poobah

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

ldtluxury wrote:
No. It still says that I can't use backslash.


That's in line with what it says here, where it also says:

Quote:
You cannot specify file names that contain the following characters: the asterisk ('*'), the question mark ('?'), or file name separator characters ('/' and' \').


Nothing there about a $ I can see. I'd raise a PMR if I was you, as I too would suspect whatever's parsing the pattern is inappropriately reacting to the $ character. Or at least reacting in an undocumented fashion.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 11, 2015 6:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ok. This says that you can't use '/','\','?','*'.

It's not clear why '$' doesn't work. Perhaps it's because '*' matches 0 or more characters. Try '$?*'.

Also, what was the file name that got processed incorrectly? Is there any way that the filename matched both patterns? (that *shouldn't* cause the file to be processed, but it *might*... )
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 » File exclusion pattern problem
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.