Installing API exits on Linux (64-bit)

You can install the API exit on Linux (64-bit) by copying the intercept_linux_x86 and intercept_linux_x86_r files into the exits directory.

About this task

To install the API exit on a Linux 64-bit system, do the following steps:

Procedure

  1. Locate the exits directory of your IBM® WebSphere® MQ installation (for example, /var/mq/exits).
  2. Copy intercept_linux_x86 and intercept_linux_x86_r from IBMWebSphereMQdist.zip package to the exits directory.

    The sample scripts containing the distributed WebSphere® MQ API Exit .zip file, can be downloaded from Rational® Test Control Panel.

  3. Create symbolic links to these modules:
    ln -s intercept_linux_x86 intercept
    ln -s intercept_linux_x86_r intercept_r
    Note: The file names typically have _7.1 at the end. Before running the command, rename the file by removing the version number or replace the filename in the command with the actual one.
  4. Make the exit files globally executable:
    chown mqm intercept_linux_*
    chgrp mqm intercept_linux_*
    chmod a+x intercept_linux_*
  5. Locate the exits64 directory of your WebSphere® MQ installation (for example, /var/mq/exits64).
  6. Copy intercept_linux_x86_64 and intercept_linux_x86_64_r from IBMWebSphereMQdist.zip package to the exits64 directory.
  7. Create symbolic links to these modules:
    ln -s intercept_linux_x86_64 intercept
    ln -s intercept_linux_x86_64_r intercept_r
  8. Make the exit files globally executable:
    chown mqm intercept_linux_*
    chgrp mqm intercept_linux_*
    chmod a+x intercept_linux_*