Stanza information

The following information helps you configure the information within stanzas, and lists the contents of the mqs.ini, qm.ini, and mqclient.ini files.

Configuring stanzas

[Windows]CAUTION:
The Windows Registry contains critical information, including file locations, drivers, and start-up processes. IBM® MQ relies on these specific registry settings to function correctly. Changing these settings without proper information can cause the IBM MQ application to become unusable or fail completely as incorrect changes can disrupt its essential functions.
Use the links to help you configure the system, or systems, in your enterprise:
  • Changing IBM MQ configuration information helps you configure the:
    • AllQueueManagers stanza
    • DefaultQueueManager stanza
    • ExitProperties stanza
    • LogDefaults stanza
    • Security stanza in the qm.ini file
  • Changing queue manager configuration information helps you configure the:
    • [Windows]AccessMode stanza (Windows only)
    • Service stanza - for Installable services
    • Log stanza
    • [UNIX][Linux]RestrictedMode stanza (UNIX and Linux® systems only)
    • XAResourceManager stanza
    • TCP, LU62, and NETBIOS stanzas
    • ExitPath stanza
    • QMErrorLog stanza
    • SSL stanza
    • ExitPropertiesLocal stanza
  • Configuring services and components helps you configure the:
    • Service stanza
    • ServiceComponent stanza
    and contains links to how they are used for different services on UNIX and Linux, and Windows platforms.
  • Configuring API exits helps you configure the:
    • AllActivityTrace stanza
    • AppplicationTrace stanza
  • Configuring activity trace behavior helps you configure the:
    • ApiExitCommon stanza
    • ApiExitTemplate stanza
    • ApiExitLocal stanza
  • Configuration information for clients helps you configure the:
    • CHANNELS stanza
    • ClientExitPath stanza
    • [Windows]LU62, NETBIOS and SPX stanza (Windows only)
    • MessageBuffer stanza
    • SSL stanza
    • TCP stanza
  • Configuration file stanzas for distributed queuing helps you configure the:
    • CHANNELS stanza
    • TCP stanza
    • LU62 stanza
    • NETBIOS
    • ExitPath stanza
  • Setting queued publish/subscribe message attributes helps you configure the:
    • PersistentPublishRetry attribute
    • NonPersistentPublishRetry attribute
    • PublishBatchSize attribute
    • PublishRetryInterval attribute
    in the Broker stanza.
    Attention: You must create a Broker stanza if you need one.
  • [V9.1.4 Dec 2019]Using automatic configuration helps you configure the:
    • AutoConfig stanza
    • AutoCluster stanza
    • Variables stanza

Configuration files

See: for a list of the possible stanzas in each configuration file. [UNIX][Linux]
mqs.ini file

Example of an IBM MQ configuration file for UNIX and Linux systems shows an example mqs.ini file.

An mqs.ini file can contain the following stanzas:

In addition, there is one QueueManager stanza for each queue manager.

qm.ini file

Example queue manager configuration file for IBM MQ for UNIX and Linux systems shows an example qm.ini file.

A qm.ini file can contain the following stanzas:
In addition, you can change the:
  • [Windows]AccessMode (Windows only)
  • [UNIX][Linux]RestrictedMode (UNIX and Linux systems only)
by using the crtmqm command.
mqclient.ini file
An mqclient.ini file can contain the following stanzas:

In addition, you might need a PreConnect stanza to configure a preconnect exit.