fteSetupCommands (create the command.properties file)
The fteSetupCommands command creates the command.properties file. This properties file specifies the details of the queue manager that connects to the WebSphere® MQ network when you issue commands.
Purpose
Use the fteSetupCommands command to create a command.properties file in the coordination queue manager directory. The command uses the install.properties and wmqfte.properties files to determine where to locate the command.properties file. Ensure that you have already created and configured a coordination queue manager before you issue the fteSetupCommands command.
For more information about properties files, see Properties files for WebSphere MQ File Transfer Edition .
Syntax
fteSetupCommands >>-fteSetupCommands - -connectionQMgr--(connection_qmgr_name)---> >--+----------------------------------------------+-------------> '- -connectionQMgrHost--(connection_qmgr_host)-' >--+----------------------------------------------+-------------> '- -connectionQMgrPort--(connection_qmgr_port)-' >--+----------------------------------------------------+-------> '- -connectionQMgrChannel--(connection_qmgr_channel)-' >--+------------------------------+--+-----+------------------->< '- -p--(configuration_options)-' '- -f-'
Parameters
- -connectionQMgr (connection_qmgr_name)
- Required. The name of the queue manager used to connect to the WebSphere MQ network to issue commands.
- -connectionQMgrHost (connection_qmgr_host)
- Optional. The host name or IP address of the connection queue
manager.
If you do not specify the -connectionQMgrHost parameter, a bindings mode connection is assumed.
If you specify a value for the -connectionQMgrHost parameter but do not specify values for the -connectionQMgrPort and -connectionQMgrChannel properties, a port number of 1414 and a channel of SYSTEM.DEF.SVRCONN are used by default.
- -connectionQMgrPort (connection_qmgr_port)
- Optional. The port number used to connect to the connection queue manager in client mode. If you specify the -connectionQMgrPort parameter, you must also specify the -connectionQMgrHost parameter.
- -connectionQMgrChannel (connection_qmgr_channel)
- Optional. The channel name used to connect to the connection queue manager. If you specify the -connectionQMgrChannel parameter, you must also specify the -connectionQMgrHost parameter.
- -p (configuration_options)
- Optional. This parameter determines the set of configuration options
that is used to set up a command queue manager. Use the name of a
non-default coordination queue manager as the input for this parameter.
The fteSetupCommands command then uses the set
of properties files associated with this non-default coordination
queue manager.
If you do not specify this parameter, the set of configuration options based on the default coordination queue manager is used.
- -f
- Optional. Forces an overwrite of the existing command.properties file with the details specified in this command.
- -? or -h
- Optional. Displays command syntax.
Example
In this examplefteSetupCommands -connectionQMgr QM_NEPTUNE -connectionQMgrHost 9.146.157.241
-connectionQMgrPort 1414 -connectionQMgrChannel SYSTEM.DEF.SVRCONN
Return codes
- 0
- Command completed successfully.
- 1
- Command ended unsuccessfully.