Posted: Fri Jun 22, 2012 4:34 am Post subject: how to execute a shell script using managed calls in mqfte
Novice
Joined: 17 Dec 2010 Posts: 13
hi
i want to execute a shell script using mqfte managed calls.
to test this i created a simple shell script which created a new directory called test. this scripts is running fine and when i run this script a new directory call test gets created in my aix box.
now i created a file transfer xml to execute this scipt below is the template of the script
BFGCL0035I: Transfer request issued. The request ID is: 414d5120514d42202020202
02020202004c4e14f2002cb1e
BFGCL0182I: The request is now waiting to be processed by the agent.
but the shell script never executes and the agent status is active which indicates that it is doing some activity.
what could be the issue.Have i gone wrong some where???
need an urgent solution for this issue.
thank you
You cannot submit a managedcall using the ftCreateTransfer command. managed calls are only submitted by resource monitors. I am surprised that you got this is submit at all. The schema validation for the fteCreateTransfer should have failed this as a invallid request.
The only way for this to work outside of a resource monitor is to put the XML message directly on the agents command queue. i.e. system.fte.command.<agentName>"
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