IBM WebSphere provides a good utility called saveqmgr that enables you to save all the objects, such as queues, channels, etc, defined in a either local or remote queue manager to a file. You can then easily modify the file and use it to alter the definition of the same or another queue manager.
The saveqmgr is very easy to use. All what you need to do is
- Download the utility from IBM For windows you just need to unzip the file preferably in IBM WebSsphere bin directory
- To export the queue manager objects use the following command saveqmgr.exe -m qmName > outputFile
- To import the queue manager objects ensure that queue manager is running and then use the following command runmqsc qmName < outputFile