Setting the IBM MQ environment on Linux and AIX

On Linux® and AIX®, configure an integration server to use the specified IBM® MQ environment.

In addition to the scripts that you must run to create your default system queues (as described in Creating the default system queues on an IBM MQ queue manager), on Linux and AIX systems, you must configure the IBM MQ environment where you want the integration server to run, before you start it. If you do not set the environment, your integration server might not run in the expected location.

Set the environment by using the IBM MQ setmqenv command; for more information see the setmqenv command in the IBM MQ product documentation. For example, if you want the integration server to use the IBM MQ installation path /opt/mqm:
. /opt/mqm/setmqenv -s -x 64
Because the setmqenv command is not persistent, you can create an IBM App Connect Enterprise common profile to run this command in either of the following ways:
  • Run setmqenv when mqsiprofile is run.
  • Run setmqenv when the integration server is started.