Renaming a channel
Use MQSC to rename a message channel.
Use MQSC to carry out the following steps:- Use STOP CHANNEL to stop the channel.
- Use DEFINE CHANNEL to create a duplicate channel definition with the new name.
- Use DISPLAY CHANNEL to check that it has been created correctly.
- Use DELETE CHANNEL to delete the original channel definition.
If you decide to rename a message channel, remember that a channel has two channel definitions, one at each end. Make sure that you rename the channel at both ends at the same time.
Parent topic: Getting started with objects