Home
Required parameters (Copy Channel)
- FromChannelName (MQCFST)
- From channel name (parameter identifier: MQCACF_FROM_CHANNEL_NAME).
The name of the existing channel definition that contains values for the attributes that are not specified in this command.
On z/OS, the queue manager searches for an object with the name you specify and a disposition of MQQSGD_Q_MGR or MQQSGD_COPY to copy from. This parameter is ignored if a value of MQQSGD_COPY is specified for QSGDisposition. In this case, an object with the name specified by ToChannelName and the disposition MQQSGD_GROUP is searched for to copy from.
The maximum length of the string is MQ_CHANNEL_NAME_LENGTH.
- ChannelType (MQCFIN)
- Channel type (parameter identifier: MQIACH_CHANNEL_TYPE).
Specifies the type of the channel being changed, copied, or created. The value can be:
- MQCHT_SENDER
- Sender.
- MQCHT_SERVER
- Server.
- MQCHT_RECEIVER
- Receiver.
- MQCHT_REQUESTER
- Requester.
- MQCHT_SVRCONN
- Server-connection (for use by clients).
- MQCHT_CLNTCONN
- Client connection.
- MQCHT_CLUSRCVR
- Cluster-receiver.
- MQCHT_CLUSSDR
- Cluster-sender.
- ToChannelName (MQCFST)
- To channel name (parameter identifier: MQCACF_TO_CHANNEL_NAME).
The name of the new channel definition.
The maximum length of the string is MQ_CHANNEL_NAME_LENGTH.
Channel names must be unique; if a channel definition with this name already exists, the value of Replace must be MQRP_YES. The channel type of the existing channel definition must be the same as the channel type of the new channel definition otherwise it cannot be replaced.
Parent topic:
Change, Copy and Create Channel
pc11010_
Home