Delete a channel definition

We can delete a channel definition using MQSC commands or using the operations and control panels.

To delete a channel definition using the MQSC commands, use DELETE CHANNEL.

Use the operations and control panels, starting from the initial panel, complete these fields and press enter:

Field Value
Action 4 (Manage)
Object type channel type (for example SENDER) or CHANNEL
Name CHANNEL.TO.DELETE
Disposition The location of the object.

You are presented with another panel. Select function type 1 on this panel.

Press enter to delete the channel definition; we are asked to confirm that we want to delete the channel definition by pressing enter again.

Note: The channel initiator has to be running before a channel definition can be deleted (except for client-connection channels). Parent topic: Monitor and control channels on z/OS