Renaming a channel

Use MQSC to rename a message channel.

Use MQSC to carry out the following steps:
  1. Use STOP CHANNEL to stop the channel.
  2. Use DEFINE CHANNEL to create a duplicate channel definition with the new name.
  3. Use DISPLAY CHANNEL to check that it has been created correctly.
  4. 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