Defining a channel

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

To define a channel using the MQSC commands, use DEFINE CHANNEL.

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

Field Value
Action 2 (Define like)
Object type channel type (for example SENDER) or CHANNEL
Name  
Disposition The location of the new object.

You are presented with some panels to complete with information about the name and attributes we want for the channel we are defining. They are initialized with the default attribute values. Change any we want before pressing enter.

Note: If you entered CHANNEL in the object type field, we are presented with the Select a Valid Channel Type panel first.

To define a channel with the same attributes as an existing channel, put the name of the channel we want to copy in the Name field on the initial panel. The panels are initialized with the attributes of the existing object.

For information about the channel attributes, see Channel attributes Note:
  1. Name all the channels in your network uniquely. As shown in Network diagram showing all channels, including the source and target queue manager names in the channel name is a good way to do this naming.

After you have defined your channel we must secure your channel, see Securing a channel

Parent topic: Monitor and control channels on z/OS