IBM Support

MQ File Transfer Agent scripts usage in Sterling Integrator

Product Documentation


Abstract

This article will describe how to use, within Sterling Integrator, the equivalent of the fteStartAgent and fteCleanAgent that comes embedded in the stand alone instance of Websphere MQ FTE Adapter.

This will be helpful for users that have WMQFTE running standalone and within Sterling Integrator.

Content

Information on the functionality of the fteCleanAgent and fteStartAgent can be found in the WMQFTE documentation.

To use the functionality of the mentioned scripts within Sterling Integrator please note the following:
fteStartAgent - SI does not support running this command within its
configuration. This will ensure to start a new JVM process which will
conflict within the SI configuration. The way to start and stop the
WMQFTE agent within SI is to run the SI command via the opscmd.sh
scripts. Here is the information/syntax on how to run the opscmd sript:

http://www-01.ibm.com/support/docview.wss?uid=swg21517254


PLEASE NOTE: Please use the adapter container name within the -n parameter. So if the adapter container where WMQFTE adapter is run is called
node1ac1 then your command would look like:
./bin/opscmd.sh -cSTARTADAPTER -nnode1ac1
-pID=TheNameOfYourWMQFTEAdapter

Also, please note that the command needs to be run from the SI install/
directory NOT from the SI install/bin/ directory.

fteCleanAgent - The fteCleanAgent script could run and clean the queues for
an WMQFTE agent adapter. You would need to ensure that the system with
the standard FTE installation (providing the fte* scripts) also has
configuration files for the specific WMQFTE Agent Adapter you want to
clean. For example, on a Linux system with WMQFTE installed, you'd
find a directory /var/IBM/WMQFTE/config/agents that contains a
sub-directory for each agent and within the agent-specific
sub-directories you'll find configuration files for the agent. You can create the appropriate sub-directory for a WMQFTE agent adapter agent and create the appropriate agent.properties
file and then run fteCleanAgent.

**An alternative to running the actual fteCleanAgent command would be
to run a set of MQSC batch commands against the queue manager(s)
containing the queues for the WMQFTE Agent. If you want to completely
clean an agent, you likely can just run a set of truncate commands on
the appropriate queues to achieve the same affect.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
14 November 2019

UID

swg27041354