The sample API exit generates an MQI trace to a user-specified file with a prefix defined in the MQS_TRACE_LOGFILE environment variable. For more information about API exits, see Chapter 15, Using and writing API exits.
ApiExitLocal: Sequence=100 Function=EntryPoint Module=install_dir/samp/bin/amqsaxe Name=SampleApiExit
where install_dir is the directory where WebSphere MQ was installed.
ApiExitLocal: Sequence=100 Function=EntryPoint Module=install_dir\Tools\c\Samples\bin\amqsaxe Name=SampleApiExit
where install_dir is the directory where WebSphere MQ was installed.
MQS_TRACE_LOGFILE=/tmp/MqiTrace
Output files will appear in the /tmp directory with names like: MqiTrace.<pid>.<tid>.log