Dead-letter queue handler sample
A sample dead-letter queue handler is provided, the name of the executable version is amqsdlq. If you want a dead-letter queue handler that is different from RUNMQDLQ, the source of the sample is available for you to use as your base.
You need to make these variables known to your environment using either the export or set commands, depending on your platform; trace is turned off using the unset command.
You can modify the error message file, amqsdlq.msg, to suit your own requirements. The sample puts messages to stdout, not to the IBM® MQ error log file.
For more information on how the dead-letter handler works, and how you run it, see Processing messages on an IBM MQ dead-letter queue or the System Management Guide for your platform.