MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Multiple remote mainframe queues pointing to one local/linux queue.

    Posted 11/16/21 09:17 AM

    I was asked by a programmer if multiple remote mainframe/application queues can be defined to point to one local queue on a distributed machine. 

    If there is a best practice for this please advise.

    Thanks.


  • 2.  RE: Multiple remote mainframe queues pointing to one local/linux queue.

    Posted 11/16/21 04:20 PM

    Skid,

    Yes, this is a very common scenario.

    You can defined remote queues on the queue manager (any queue manager) and have messages flow over MCA to another queue manager.
    At one level you can do
    DEFINE QR(R1)  RNAME(FARQUEUE) RQMNAME(LIQM) XMITQ(XQLIQM)
    DEFINE QR(R2)  RNAME(FARQUEUE) RQMNAME(LIQM) XMITQ(XQLIQM)


    If you are using Clustering you could define a queue alias- where FARQUEUE is in the cluster on the remote machine.

    DEFINE QA(A1) TARGQ(FARQUEUE)
    DEFINE QA(A2) TARGQ(FARQUEUE)
    Colin



    ------------------------------
    Colin Paice
    ------------------------------



  • 3.  RE: Multiple remote mainframe queues pointing to one local/linux queue.

    Posted 11/17/21 09:52 AM
    Thanks for the update, we will attempt this in the future.