Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | The JMSAdmin Command-Line Tool | JMSAdmin Variables | Using Variables to Set Parameters
Using Variables to Set Parameters
You can use the set command to set variables and then use the variables as parameter values in JMSAdmin commands.
The following example shows how you might use variables to set the parameters in a bind command:
set $bHost=Aries; set $bName=InvControl
bind tcf publicTCF with brokerHost=$bHost brokerName=$bName
JMSAdmin cannot use environment variables that you set in the shell or operating environment prior to launching JMSAdmin. It can only reference local variables; that is, variables set during the JMSAdmin session.