0 - Display MQ installation directory using dspmqinst command

The dspmqinst command is used the display the root installation directory of MQ. In this example (on Linux), the root installation directory is /opt/mqm.


InstName:   Installation1
Identifier: 1
InstPath:   /opt/mqm
Primary:    Yes
State:      Available


With the root installation directory idenfied, the "mqm" users /home/mqm/.bash_profile file can be updated to have the following.

export $PATH


In this way, commands in the "bin" directory can be issued without including <root installation directory/bin. For example, this is how you would issue the command if .bash_profile was not updated.

/opt/mqm/bin/runmqsc MANAGER01


And this is how the command could be issued after .bash_profile has been updated.

runmqsc MANAGER01


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter d1cf4 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |