[IBM i]

QMErrorLog stanza on IBM i

Use the QMErrorLog stanza in the qm.ini file to tailor the operation and contents of queue manager error logs.

[V9.0.4 Oct 2017]ErrorLogSize= maxsize
Specifies the size of the queue manager error log which it is copied to the backup. maxsize must be in the range 32768 through 2147483648 bytes. If ErrorLogSize is not specified, the default value of 33554432 bytes (32 MB) is used.
You can use this attribute to reduce the maximum size back to the previous maximum of 2 MB, if required.
Important: From IBM® MQ 9.0.4, the default size of the ErrorLogSize attribute has increased. This is a change from IBM MQ 9.0.3.

You can set the size of the log using the MQMAXERRORLOGSIZE environment variable.

ExcludeMessage= msgIds
Specifies messages that are not to be written to the queue manager error log. msqIds contain a comma-separated list of message IDs from the following:
  • 7163 - Job started message ( IBM i only)
  • 7234 - Number of messages loaded
  • 8245
  • 9001 - Channel program ended normally
  • 9002 - Channel program started
  • 9202 - Remote host not available
  • 9208 - Error on receive from host
  • 9209 - Connection closed
  • 9228 - Cannot start channel responder
  • 9508 - Cannot connect to queue manager
  • 9524 - Remote queue manager unavailable
  • 9528 - User requested closure of channel
  • 9558 - Remote Channel is not available
  • 9776 - Channel was blocked by user id
  • 9777 - Channel was blocked by NOACCESS map
  • 9782 - Connection was blocked by address
  • 9999 - Channel program ended abnormally
SuppressMessage= msgIds
Specifies messages that are written to the queue manager error log once only in a specified time interval. The time interval is specified by SuppressInterval. msqIds contain a comma-separated list of message IDs from the following:
  • 7163 - Job started message ( IBM i only)
  • 7234 - Number of messages loaded
  • 8245
  • 9001 - Channel program ended normally
  • 9002 - Channel program started
  • 9202 - Remote host not available
  • 9208 - Error on receive from host
  • 9209 - Connection closed
  • 9228 - Cannot start channel responder
  • 9508 - Cannot connect to queue manager
  • 9524 - Remote queue manager unavailable
  • 9528 - User requested closure of channel
  • 9558 - Remote Channel is not available
  • 9776 - Channel was blocked by user id
  • 9777 - Channel was blocked by NOACCESS map
  • 9782 - Connection was blocked by address
  • 9999 - Channel program ended abnormally
If the same message ID is specified in both SuppressMessage and ExcludeMessage, the message is excluded.
SuppressInterval= length
Specifies the time interval, in seconds, in which messages specified in SuppressMessage are written to the queue manager error log once only. length must be in the range 1 - 86400 seconds. If SuppressInterval is not specified, the default value of 30 seconds is used.