Do you want to copy the queue definitions, or the messages that are on the queues from QM1 to QM2?
If the queue definitions, then the answer above from LMD shows you what to do.
If the messages, then you may find this useful: Migrating a Queue Manager?
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website:
https://www.mqgem.com------------------------------
Original Message:
Sent: Wed January 24, 2024 06:14 AM
From: Ranjitha YM
Subject: WebSphere MQ :: How to dump data from One Queue Manager to Another
Hello, We have a Queue Manager QM1, it has multiple queues, and we want to copy all the queues present under QM1 to target Queue Manager QM2
------------------------------
Ranjitha YM
Original Message:
Sent: Wed January 24, 2024 03:47 AM
From: Luc-Michel Demey
Subject: WebSphere MQ :: How to dump data from One Queue Manager to Another
Hello Ranjitha,
When you talk about "copying data", do you mean messages (in MQ queues), configuration (queues, channels, etc.) or MQ logs?
If this is the MQ configuration, you can use the dmpmqcfg command (DMPMQMCFG on iSeries) to obtain a file in MQSC format, which can be injected into the new Queue Manager with the "runmqsc -f" command.
Don't forget to include any additions in the qm.ini file.
HTH, LMD.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr
#IBMChampion
Original Message:
Sent: Tue January 23, 2024 07:12 PM
From: Ranjitha YM
Subject: WebSphere MQ :: How to dump data from One Queue Manager to Another
Team,
We have a requirement to copy data from one queue manager to another, what are steps? Can you please help us here?
------------------------------
Ranjitha YM
------------------------------