Home

 

Common tokens

 

The following are common tokens that can be used to substitute tokens in the definition of a service object:

MQ_INSTALL_PATH

The install location of WebSphere MQ:

  • On AIX systems, the install location is /usr/mqm/

  • On Solaris, HP-UX, or Linux systems, the install location is /opt/mqm/

  • On Windows systems, the install location is the install directory selected during the installation of WebSphere MQ

MQ_DATA_PATH

The location of the WebSphere MQ data directory:

  • On UNIX systems, the WebSphere MQ data directory location is /var/mqm/

  • On Windows systems, the location of the WebSphere MQ data directory is the data directory selected during the installation of WebSphere MQ

QMNAME

The current queue manager name.

MQ_SERVICE_NAME

The name of the service.

MQ_SERVER_PID

This token can only be used by the STOPARG and STOPCMD arguments.

For server service objects this token is replaced with the process id of the process started by the STARTCMD and STARTARG arguments. Otherwise, this token is replaced with 0.

MQ_Q_MGR_DATA_PATH

The location of the queue manager data directory.

MQ_Q_MGR_DATA_NAME

The transformed name of the queue manager. For more information on name transformation, see Understanding WebSphere MQ file names.
To use replaceable inserts, insert the token within + characters into any of the STARTCMD, STARTARG, STOPCMD, STOPARG, STDOUT or STDERR strings. For examples of this, see Examples on using service objects.

 

Parent topic:

Replaceable inserts on service definitions


fa11440_


 

Home