Create a transmission queue

Before a channel (other than a requester channel) can be started, the transmission queue must be defined as described in this section. The transmission queue must be named in the channel definition.

Define a local queue with the USAGE attribute set to XMITQ for each sending message channel. To use a specific transmission queue in your remote queue definitions, create a remote queue as shown.

To create a transmission queue, use the IBM MQ Commands (MQSC), as shown in the following examples:

    Create transmission queue example
    DEFINE QLOCAL(QM2) DESCR('Transmission queue to QM2') USAGE(XMITQ)
    

    Create remote queue example
    DEFINE QREMOTE(PAYROLL) DESCR('Remote queue for QM2') +
    XMITQ(QM2) RNAME(PAYROLL) RQMNAME(QM2)
    

Consider naming the transmission queue the queue manager name on the remote system, as shown in the examples.

Parent topic: Defining the queues