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 » User Exit Question

Post new topic  Reply to topic
 User Exit Question « View previous topic :: View next topic » 
Author Message
tatyeong
PostPosted: Wed May 26, 2010 5:54 pm    Post subject: User Exit Question Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

I have a file transfer request that is triggered by a resource monitor. At the end of the transfer, I would like to invoke a shell script at source, and another script at destination.

I looked through the documentation, and that the user exit can only be implemented using the JAVA interface. Is there a way to call shell script directly without touching Java programming?

I saw there is another way of calling post processing task using Ant task, but that is only applicable for FileCopy / FileMove task correct? This approach won't work for file transfer triggered by resource monitor?

Any help is appreciated
Back to top
View user's profile Send private message
mphillip
PostPosted: Tue Jun 01, 2010 1:50 am    Post subject: Reply with quote

Apprentice

Joined: 03 Feb 2009
Posts: 49

You can configure your Monitor to kick off an ant script rather than a direct transfer. This will allow you to kick off an ant script that does the fileMove/fileCopy, and then invoke the shell script at the destination.

You will need to do this on the command line rather than through the GUI

http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/index.jsp?topic=/com.ibm.wmqfte.admin.doc/configuring_monitor_tasks.htm
Back to top
View user's profile Send private message
tatyeong
PostPosted: Tue Jun 01, 2010 2:08 am    Post subject: Reply with quote

Acolyte

Joined: 16 Apr 2010
Posts: 52

Thanks! I will try that out
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 » User Exit Question
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.