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
wso2-am
vbscript
comparison
plot
hp-exstream
relay
jxls
ravendb
fancybox
flyway4
portia
ssl-client-authentication
node-pdfkit
orchardcms
visual-studio-cordova
serverless-framework
serilog
apache-metamodel
evopdf
pythonanywhere
oxyplot
amazonsellercentral
object-detection
functional-testing
web-sql
sylius
autosys
microsoft-sync-framework
buildbot
dynamic-featured-image
linkerd
typo3-6.2.x
quote
flink-streaming
microsoft-chart-controls
airconsole
stringtemplate
vsts-build-task
subset-sum
io-redirection
email-templates
checkboxlist
websphere-mq-fte
babel-core
apple-news
auto-update
osx-mavericks
ionicons
fancybox-2
mu
np-complete
dtexec
arrow-keys
orthogonal
mediaelement
impresspages
wapiti
rtbkit
prerequisites
content-length
ibaction
twirl
event-bubbling
operation
dundas
angularjs-ng-click
applescript-objc
websocket4net
datagridviewcolumn
flexmojos
spring-io
opcache
easy-install
cos
html4
rabl
wsdl-2.0
kyotocabinet
free-variable
unc
runas
frameset
dotnethighcharts
amazon-appstore
php-parser
qt-jambi
data-loss
xmlspy
horizontal-accordion
datareader
lang
cxxtest
wise
photoshop-cs4
aquaticprime

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