websphere-mq-fte


Syntax for PRESOURCE call using Protocol bridge agent as source in MQFTE


What is the syntax for calling a shell script using presource call in mqfte protocol bridge agent as source ( Linux platform is used for FTE local as well as sftp server to which the protocol bridge agent is connecting.) Below is the error i am getting. BFGCR0003E: A request has been made for the agent to call the command ''10.350.81.70:/testing/Sample_presrc.bat''. The agent's command path '10.350.81.70:/testing/' does not define a path to this command. Only commands whose path is on the agent's command path can be run.
Note. The script created is batch why because, the SFTP server is based on wintel platform ( where the script will be placed) but the file system is linux. And the same way the fte local on which the protocol bridge agent installed also linux platform.
Thanks,
Vasuki P
Given the error I think your syntax is just fine. The 'command path' the error refers to maps to the 'commandPath' property of the source agent's agent.properties file documented here:
http://www.ibm.com/support/knowledgecenter/SSFKSJ_9.0.0/com.ibm.wmqfte.doc/properties.htm
The commandPath is a control which lets you restrict which commands can be run using presource calls and similar - it's a measure to help prevent the wrong applications being called, or worse someone who has compromised your MFT system being able to run any command they please.
':' is the path separator on Unix, so your commandPath is set up to run commands in a directory named '10.350.81.70', and another directory named '/testing/'. The command needs to be on a mounted filesystem on the machine the source agent is running on for a presource call. If 10.350.81.70 is the source agent's host, then alter the commandPath for that agent to '/testing' and alter the syntax of your createTransfer command to invoke '/testing/Sample_presrc.bat'

Related Links

ANT FTE fte:filemove command no return code for large file
Syntax for PRESOURCE call using Protocol bridge agent as source in MQFTE
MQ-FTE options for email alerting on errors or monitoring (to be able to support the solution during Test and then Prod Support)?
Limit MQFTE file transfer to one file at a time
Using -bs parameter (batch size, matches per task) in IBM MQ FTE transfer
Space in Directory for WebSphere MQ FTE transfer
How to retry file transfer using transferId (IBM MQ fte)
How to handle FTE queued transfers
How to monitor FTE agent status
wmq-fte precall java failed
WMQ FTE in a Distributed Environment
FTE should not pick the file until unless file is ready for transfer
How to configure a fte ant script so it can perform few task before file transfer
How to implement logging in fte ant script

Categories

HOME
jdo
asp.net-core
netbeans
oracle11g
azure-data-factory
mediawiki
mockito
relative-path
relayjs
tesseract
read-eval-print-loop
setup-deployment
microservices
ip
maude-system
gnupg
correlation
windows-phone-7
dtrace
ibm-odm
circuit
jsprit
plunker
kudan
zurb-foundation-6
centos6.5
web-api-testing
assistant
c++-amp
react-chartjs
lxd
windows-dev-center
normal-distribution
force-layout
appfabric
swisscomdev
retina-display
webix-treetable
ansible-playbook
splice
node-gyp
firebase-admin
http-redirect
flashair
parentheses
prolog-setof
dandelion
typescript1.8
ifs
android-fonts
intrusion-detection
pcf
bstr
hover-over
endeca-workbench
mono-embedding
generic-programming
sonarqube5.1.2
qpainter
mdt
contenttype
rebol3
valueconverter
htmlcleaner
valuechangelistener
braille
transcoding
mqx
drools-planner
http-unit
zpt
mod-auth
imac
site.master
w3wp.exe
ext3
fixed-width
avatar
port-number
.net-1.0
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App