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 » Specifying the Broker in FileInput 'File name or pattern'

Post new topic  Reply to topic
 Specifying the Broker in FileInput 'File name or pattern' « View previous topic :: View next topic » 
Author Message
nickkirk
PostPosted: Fri Sep 20, 2013 3:30 am    Post subject: Specifying the Broker in FileInput 'File name or pattern' Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

I have:
1) A Broker named MBPROD
2) A file named *.MBXXXX.gz

How can I specify the Broker Name in the FileInput Node Property 'File name or pattern' ?

Please note, I can override this property at deployment time using mqsiapplybaroverride but for reasons I will not get in to, this does not suffice.
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Sep 20, 2013 3:35 am    Post subject: Reply with quote

Jedi Knight

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

Bar override is your only option to specify the pattern prior to deployment on different environments.

Why is it so difficult to use the bar override ? What does your manager say about 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
nickkirk
PostPosted: Fri Sep 20, 2013 3:40 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

Regular expressions are supported in the property 'File name or pattern' .
Can something like $BrokerName$ be used ?
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Sep 20, 2013 3:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

nickkirk wrote:
Regular expressions are supported in the property 'File name or pattern' .
Can something like $BrokerName$ be used ?


Only if the documentation says it can be used.

Sometimes it's not worth struggling to make things smarter than they need to be.
Back to top
View user's profile Send private message
nickkirk
PostPosted: Fri Sep 20, 2013 3:49 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

mqjeff wrote:
nickkirk wrote:
Regular expressions are supported in the property 'File name or pattern' .
Can something like $BrokerName$ be used ?


Only if the documentation says it can be used.

Sometimes it's not worth struggling to make things smarter than they need to be.



Ah ok, thanks for that. Never thought of checking the documentation.
Back to top
View user's profile Send private message Send e-mail
nickkirk
PostPosted: Fri Sep 20, 2013 3:51 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

Can a property (i.e. 'File name or pattern' ) reference a UDP ?
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Sep 20, 2013 3:54 am    Post subject: Reply with quote

Jedi Knight

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

nickkirk wrote:
Can a property (i.e. 'File name or pattern' ) reference a UDP ?


Who is telling you that you are not permitted to use the documented way to override properties ?
_________________
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
mqjeff
PostPosted: Fri Sep 20, 2013 3:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why are you trying to craft a solution that is this complicated and this smart?

What is the real requirement you are trying to meet?

You are trying to put in too many knobs and whistles and gerbil-powered windmills. You will end up with a solution that does not hold up over time.

http://www-304.ibm.com/support/docview.wss?uid=swg24032081

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/topic/com.ibm.etools.mft.cmp.doc/index.html
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 20, 2013 5:05 am    Post subject: Reply with quote

Grand High Poobah

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

nickkirk wrote:
Can a property (i.e. 'File name or pattern' ) reference a UDP ?


No, and why would you want to? Seriously. I think we're all struggling to see the actual requirement here, and why the obvious answer isn't that useful to you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri Sep 20, 2013 5:27 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

you can use the LocalEnvironment overrides for the fileoutput node.

oops, sorry, you were talking about the fileinput node... forget that.
Back to top
View user's profile Send private message
dogorsy
PostPosted: Fri Sep 20, 2013 7:15 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

Having said that, you can use a compute node to set the LocalEnvironment and then trigger a fileRead node (instead of a fileinput) , in the compute node you can use the ESQL BrokerName property
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 » Specifying the Broker in FileInput 'File name or 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.