+

Search Tips | Advanced Search

IBM MQ for Windows configuration

Example programs and commands for configuration.

Note:
  1. We can use the sample program, AMQSBCG, to show the contents and headers of all the messages in a queue. For example:
    AMQSBCG q_name qmgr_name
    
    shows the contents of the queue q_name defined in queue manager qmgr_name.

    Alternatively, we can use the message browser in the IBM MQ Explorer.

  2. We can start any channel from the command prompt using the command
    runmqchl -c channel.name
    
  3. Error logs can be found in the directories MQ_INSTALLATION_PATH\qmgrs\ qmgrname \errors and MQ_INSTALLATION_PATH\qmgrs\@system\errors. In both cases, the most recent messages are at the end of amqerr01.log.

    MQ_INSTALLATION_PATH represents the high-level directory in which IBM MQ is installed.

  4. When we are using the command interpreter runmqsc to enter administration commands, a + at the end of a line indicates that the next line is a continuation. Ensure that there is a space between the last parameter and the continuation character.

  • Basic configuration
    We can create and start a queue manager from the IBM MQ Explorer or from the command prompt.
  • Channel configuration for Windows
    Example configuration to be performed on the Windows queue manager to implement a given channel.
  • Automatic startup
    IBM MQ for Windows allows you to automate the startup of a queue manager and its channel initiator, channels, listeners, and command servers.
  • Running channels as processes or threads
    IBM MQ for Windows provides the flexibility to run sending channels as Windows processes or Windows threads. This is specified in the MCATYPE parameter on the sender channel definition.
  • Multiple thread support - pipelining
    We can optionally allow a message channel agent (MCA) to transfer messages using multiple threads. This process, called pipelining, enables the MCA to transfer messages more efficiently, with fewer wait states, which improves channel performance. Each MCA is limited to a maximum of two threads.

Parent topic: Example IBM MQ configuration for Windows

Last updated: 2020-10-04