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 » IBM MQ File Transfer Edition » QM + FTE v7

Post new topic  Reply to topic
 QM + FTE v7 « View previous topic :: View next topic » 
Author Message
duzer
PostPosted: Wed Mar 20, 2013 4:21 am    Post subject: QM + FTE v7 Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 3

Hi all.
I have QM and FTE v7 deployed on Windows.

In my environtment i must transfer file namde in pattern $C* - started with $C.
I use Monitor for this issue.
When i simply put $C* in fteCreateMonitor.cmd .... -tr match,$C* .... it isn't work.

I have next question:

What i must put in -tr statment to force it work?


C:\IBM\WMQFTE\bin\fteCreateMonitor.cmd -ma AGENT_KIE -mm QMKIE -mn KHA_$C -md F:\KHA.0200 -tr match,$C* -pi 5 -pu seconds -mt C:\KHA_$C.txt

KHA_$C.txt :

<?xml version="1.0" encoding="UTF-8"?>
version="4.00" xsi:noNamespaceSchemaLocation="FileTransfer.xsd">
<managedTransfer>
<originator>
<hostName>192.168.5.155</hostName>
<userID>admin</userID>
</originator>
<sourceAgent QMgr="QMKIE" agent="AGENT_KIE"/>
<destinationAgent QMgr="QMKHA" agent="AGENT_KHA"/>
<transferSet priority="5">
<item checksumMethod="MD5" mode="binary">
<source disposition="delete" recursive="false">
<file>F:\KHA.0200\$C*</file>
</source>
<destination exist="error" type="directory">
<file>F:\in</file>
</destination>
</item>
</transferSet>
</managedTransfer>
</request>
Back to top
View user's profile Send private message
nickla23
PostPosted: Wed Mar 20, 2013 5:54 am    Post subject: Reply with quote

Novice

Joined: 06 Dec 2012
Posts: 12

I believe the $ is a reserved character in FTE for variable substitution. You might try enclosing the match pattern in double quotes or using regular expressions to monitor.
Back to top
View user's profile Send private message
duzer
PostPosted: Wed Mar 20, 2013 6:38 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 3

I tried to put double quotes in this situation.
I tried:

-tr match,\$C*
-tr match,"$C*"

But nothing .
Back to top
View user's profile Send private message
nickla23
PostPosted: Wed Mar 20, 2013 6:54 am    Post subject: Reply with quote

Novice

Joined: 06 Dec 2012
Posts: 12

Try using regular expressions, you will have to add (-pt regex) in the command line, without knowing your naming conventions try something like:


[\$][C][A-Z]*


that should work, the backslash is an escape character for the $
Back to top
View user's profile Send private message
duzer
PostPosted: Wed Mar 20, 2013 8:05 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 3

Thanks a lot. I am new in MQ and FTE. I will try your suggesion.
Back to top
View user's profile Send private message
nickla23
PostPosted: Wed Mar 20, 2013 9:03 am    Post subject: Reply with quote

Novice

Joined: 06 Dec 2012
Posts: 12

No problem, just post back if you have any further issues.
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 » IBM MQ File Transfer Edition » QM + FTE v7
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.