Home

 

Optional parameters

 

BatchHeartbeat (MQCFIN)

The batch heartbeat interval (parameter identifier: MQIACH_BATCH_HB).

Batch heartbeating allows sender-type channels to determine whether the remote channel instance is still active, before going in-doubt. The value can be between 0 and 999999. A value of 0 indicates that batch heartbeating is not to be used. Batch heartbeat is measured in milliseconds.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

BatchInterval (MQCFIN)

Batch interval (parameter identifier: MQIACH_BATCH_INTERVAL).

This is the approximate time in milliseconds that a channel will keep a batch open, if fewer than BatchSize messages have been transmitted in the current batch.

This parameter is supported in the following environments: AIX, HP-UX, i5/OS, Solaris, Windows, Linux and z/OS.

If BatchInterval is greater than zero, the batch is terminated by whichever of the following occurs first:

  • BatchSize messages have been sent, or

  • BatchInterval milliseconds have elapsed since the start of the batch.

If BatchInterval is zero, the batch is terminated by whichever of the following occurs first:

BatchInterval must be in the range zero through 999 999 999.

This parameter applies only to channels with a ChannelType of: MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

BatchSize (MQCFIN)

Batch size (parameter identifier: MQIACH_BATCH_SIZE).

The maximum number of messages that should be sent down a channel before a checkpoint is taken.

The batch size which is actually used is the lowest of the following:

  • The BatchSize of the sending channel

  • The BatchSize of the receiving channel

  • The maximum number of uncommitted messages at the sending queue manager

  • The maximum number of uncommitted messages at the receiving queue manager

The maximum number of uncommitted messages is specified by the MaxUncommittedMsgs parameter of the Change Queue Manager command.

Specify a value in the range 1-9999.

This parameter is not valid for channels with a ChannelType of MQCHT_SVRCONN or MQCHT_CLNTCONN.

ChannelDesc (MQCFST)

Channel description (parameter identifier: MQCACH_DESC).

The maximum length of the string is MQ_CHANNEL_DESC_LENGTH.

Use characters from the character set, identified by the coded character set identifier (CCSID) for the message queue manager on which the command is executing, to ensure that the text is translated correctly.

ChannelMonitoring (MQCFIN)

Online monitoring data collection (parameter identifier: MQIA_MONITORING_CHANNEL).

Specifies whether online monitoring data is to be collected and, if so, the rate at which the data is collected. The value can be:

MQMON_OFF

Online monitoring data collection is turned off for this channel.

MQMON_Q_MGR

The value of the queue manager's ChannelMonitoring parameter is inherited by the channel.

MQMON_LOW

If the value of the queue manager's ChannelMonitoring parameter is not MQMON_NONE, online monitoring data collection is turned on, with a low rate of data collection, for this channel.

MQMON_MEDIUM

If the value of the queue manager's ChannelMonitoring parameter is not MQMON_NONE, online monitoring data collection is turned on, with a moderate rate of data collection, for this channel.

MQMON_HIGH

If the value of the queue manager's ChannelMonitoring parameter is not MQMON_NONE, online monitoring data collection is turned on, with a high rate of data collection, for this channel.

ChannelStatistics (MQCFIN)

Statistics data collection (parameter identifier: MQIA_STATISTICS_CHANNEL).

Specifies whether statistics data is to be collected and, if so, the rate at which the data is collected. The value can be:

MQMON_OFF

Statistics data collection is turned off for this channel.

MQMON_Q_MGR

The value of the queue manager's ChannelStatistics parameter is inherited by the channel.

MQMON_LOW

If the value of the queue manager's ChannelStatistics parameter is not MQMON_NONE, online monitoring data collection is turned on, with a low rate of data collection, for this channel.

MQMON_MEDIUM

If the value of the queue manager's ChannelStatistics parameter is not MQMON_NONE, online monitoring data collection is turned on, with a moderate rate of data collection, for this channel.

MQMON_HIGH

If the value of the queue manager's ChannelStatistics parameter is not MQMON_NONE, online monitoring data collection is turned on, with a high rate of data collection, for this channel.

This parameter is valid only on AIX, HP-UX, Linux, i5/OS, Solaris, and Windows.

ClusterName (MQCFST)

Cluster name (parameter identifier: MQCA_CLUSTER_NAME).

The name of the cluster to which the channel belongs.

This parameter applies only to channels with a ChannelType of:

  • MQCHT_CLUSSDR

  • MQCHT_CLUSRCVR

Only one of the values of ClusterName and ClusterNamelist can be nonblank; the other must be blank.

The maximum length of the string is MQ_CLUSTER_NAME_LENGTH.

ClusterNamelist (MQCFST)

Cluster namelist (parameter identifier: MQCA_CLUSTER_NAMELIST).

The name, of the namelist, that specifies a list of clusters to which the channel belongs.

This parameter applies only to channels with a ChannelType of:

  • MQCHT_CLUSSDR

  • MQCHT_CLUSRCVR

Only one of the values of ClusterName and ClusterNamelist can be nonblank; the other must be blank.

CLWLChannelPriority (MQCFIN)

Channel priority for the purposes of cluster workload distribution (parameter identifier: MQIACH_CLWL_CHANNEL_PRIORITY).

Specify a value in the range zero through 9 where zero is the lowest priority and 9 is the highest.

This parameter applies only to channels with a ChannelType of:

  • MQCHT_CLUSSDR

  • MQCHT_CLUSRCVR

For more information about this parameter, see WebSphere MQ Queue Manager Clusters.

CLWLChannelRank (MQCFIN)

Channel rank for the purposes of cluster workload distribution (parameter identifier: MQIACH_CLWL_CHANNEL_RANK).

Specify a value in the range zero through 9 where zero is the lowest priority and 9 is the highest.

This parameter applies only to channels with a ChannelType of:

  • MQCHT_CLUSSDR

  • MQCHT_CLUSRCVR

For more information about this parameter, see WebSphere MQ Queue Manager Clusters.

CLWLChannelWeight (MQCFIN)

Channel weighting for the purposes of cluster workload distribution (parameter identifier: MQIACH_CLWL_CHANNEL_WEIGHT).

Specify a weighting for the channel for use in workload management. Specify a value in the range 1 through 99 where 1 is the lowest priority and 99 is the highest.

This parameter applies only to channels with a ChannelType of:

  • MQCHT_CLUSSDR

  • MQCHT_CLUSRCVR

For more information about this parameter, see WebSphere MQ Queue Manager Clusters.

CommandScope (MQCFST)

Command scope (parameter identifier: MQCACF_COMMAND_SCOPE). This parameter applies to z/OS only.

Specifies how the command is executed when the queue manager is a member of a queue-sharing group. We can specify one of the following:

  • blank (or omit the parameter altogether). The command is executed on the queue manager on which it was entered.

  • a queue manager name. The command is executed on the queue manager you specify, providing it is active within the queue sharing group. If you specify a queue manager name other than the queue manager on which it was entered, be using a queue-sharing group environment, and the command server must be enabled.

  • an asterisk (*). The command is executed on the local queue manager and is also passed to every active queue manager in the queue-sharing group.

The maximum length is MQ_QSG_NAME_LENGTH.

ConnectionName (MQCFST)

Connection name (parameter identifier: MQCACH_CONNECTION_NAME).

On platforms other than z/OS, the maximum length of the string is MQ_CONN_NAME_LENGTH. On z/OS, it is MQ_LOCAL_ADDRESS_LENGTH.

Specify the name of the machine as required for the stated TransportType:

  • For MQXPT_LU62 on i5/OS, and UNIX systems, specify the name of the CPI-C communications side object. On Windows specify the CPI-C symbolic destination name.

    On z/OS, there are two forms in which to specify the value:

    Logical unit name

    The logical unit information for the queue manager, comprising the logical unit name, TP name, and optional mode name. This can be specified in one of 3 forms:

    Form Example
    luname IGY12355
    luname/TPname IGY12345/APING
    luname/TPname/modename IGY12345/APINGD/#INTER

    For the first form, the TP name and mode name must be specified for the TpName and ModeName parameters; otherwise these parameters must be blank.

    For client-connection channels, only the first form is allowed.

    Symbolic name

    The symbolic destination name for the logical unit information for the queue manager, as defined in the side information data set. The TpName and ModeName parameters must be blank.

    For cluster-receiver channels, the side information is on the other queue managers in the cluster. Alternatively, in this case it can be a name that a channel auto-definition exit can resolve into the appropriate logical unit information for the local queue manager.

    The specified or implied LU name can be that of a VTAM generic resources group.

  • For MQXPT_TCP we can specify the host name or the network address of the remote machine.

    On z/OS, the connection name can include the IP_name of a z/OS dynamic DNS group or a network dispatcher input port. Do not include this for channels with a ChannelType value of MQCHT_CLUSSDR.

    On a MQCHT_CLUSRCVR channel, the ConnectionName parameter is optional. On AIX, HP-UX, Linux, i5/OS, Solaris, or Windows MQCHT_CLUSRCVR channel, if you leave ConnectionName blank, WebSphere MQ generates a ConnectionName for you, assuming the default port and using the current IP address of the system.

  • For MQXPT_NETBIOS specify the NetBIOS station name.

  • For MQXPT_SPX specify the 4 byte network address, the 6 byte node address, and the 2 byte socket number. These should be entered in hexadecimal, with a period separating the network and node addresses. The socket number should be enclosed in brackets, for example:
    0a0b0c0d.804abcde23a1(5e86)
    If the socket number is omitted, the WebSphere MQ default value (5e86 hex) is assumed.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_REQUESTER, MQCHT_CLNTCONN, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

If you are using clustering between IPv6–only and IPv4–only queue managers, do not specify an IPv6 network address as the ConnectionName for cluster-receiver channels. A queue manager that is capable only of IPv4 communication is unable to start a cluster sender channel definition that specifies the ConnectionName in IPv6 hexadecimal form. Consider, instead, using hostnames in a heterogeneous IP environment.

DataConversion (MQCFIN)

Whether sender should convert application data (parameter identifier: MQIACH_DATA_CONVERSION).

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

The value can be:

MQCDC_NO_SENDER_CONVERSION

No conversion by sender.

MQCDC_SENDER_CONVERSION

Conversion by sender.

DiscInterval (MQCFIN)

Disconnection interval (parameter identifier: MQIACH_DISC_INTERVAL).

This defines the maximum number of seconds that the channel waits for messages to be put on a transmission queue before terminating the channel. A value of zero causes the message channel agent to wait indefinitely.

Specify a value in the range 0 through 999 999.

This parameter is valid only for ChannelType values of MQCHT_SENDER MQCHT_SERVER, MQCHT_SVRCONN (on z/OS only), MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

For server-connection channels on z/OS using the TCP protocol, this is the minimum time in seconds for which the server-connection channel instance remains active without any communication from its partner client. A value of zero disables this disconnect processing. The server-connection inactivity interval only applies between MQ API calls from a client, so no client is disconnected during an extended MQGET with wait call. This attribute is ignored for server-connection channels using protocols other than TCP.

HeaderCompression (MQCFIL)

Header data compression techniques supported by the channel (parameter identifier: MQIACH_HDR_COMPRESSION).

The list of header data compression techniques supported by the channel. For sender, server, cluster-sender, cluster-receiver, and client-connection channels, the values specified are in order of preference with the first compression technique supported by the remote end of the channel being used.

The channel's mutually supported compression techniques are passed to the sending channel's message exit where the compression technique used can be altered on a per message basis. Compression alters the data passed to send and receive exits.

Specify one or more of:

MQCOMPRESS_NONE

No header data compression is performed. This is the default value.

MQCOMPRESS_SYSTEM

Header data compression is performed.

HeartbeatInterval (MQCFIN)

Heartbeat interval (parameter identifier: MQIACH_HB_INTERVAL).

The interpretation of this parameter depends on the channel type, as follows:

  • For a channel type of MQCHT_SENDER, MQCHT_SERVER, MQCHT_RECEIVER, MQCHT_REQUESTER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR, this is the time in seconds between heartbeat flows passed from the sending MCA when there are no messages on the transmission queue. This gives the receiving MCA the opportunity to quiesce the channel. To be useful, HeartbeatInterval should be significantly less than DiscInterval. However, the only check is that the value is within the permitted range.

    This type of heartbeat is supported in the following environments: AIX, HP-UX, i5/OS, Solaris, Windows, and z/OS.

  • For a channel type of MQCHT_CLNTCONN or MQCHT_SVRCONN, this is the time in seconds between heartbeat flows passed from the server MCA when that MCA has issued an MQGET call with the MQGMO_WAIT option on behalf of a client application. This allows the server MCA to handle situations where the client connection fails during an MQGET with MQGMO_WAIT.

    This type of heartbeat is supported in the following environments: AIX, HP-UX, i5/OS, Solaris, Windows, Linux and z/OS.

The value must be in the range 0 through 999 999. A value of 0 means that no heartbeat exchange occurs. The value that is actually used is the larger of the values specified at the sending side and receiving side.

KeepAliveInterval (MQCFIN)

KeepAlive interval (parameter identifier: MQIACH_KEEP_ALIVE_INTERVAL).

Specifies the value passed to the communications stack for KeepAlive timing for the channel.

For this attribute to have any effect, TCP/IP keepalive must be enabled. On z/OS, you do this by issuing the Change Queue Manager with a value of MQTCPKEEP in the TCPKeepAlive parameter; if the TCPKeepAlive queue manager parameter has a value of MQTCPKEEP_NO, the value is ignored and the KeepAlive facility is not used.. On other platforms, TCP/IP keepalive is enabled when the KEEPALIVE=YES parameter is specified in the TCP stanza in the distributed queuing configuration file, qm.ini, or through the WebSphere MQ Explorer. Keepalive must also be switched on within TCP/IP itself, using the TCP profile configuration data set.

Although this parameter is available on all platforms, its setting is implemented only on z/OS. On platforms other than z/OS, we can access and modify the parameter, but it is only stored and forwarded; there is no functional implementation of the parameter. This is useful in a clustered environment where a value set in a cluster-receiver channel definition on Solaris, for example, flows to (and is implemented by) z/OS queue managers that are in, or join, the cluster.

Specify either:

integer

The KeepAlive interval to be used, in seconds, in the range 0 through 99 999. If you specify a value of 0, the value used is that specified by the INTERVAL statement in the TCP profile configuration data set.

MQKAI_AUTO

The KeepAlive interval is calculated based upon the negotiated heartbeat value as follows:

  • If the negotiated HeartbeatInterval is greater than zero, KeepAlive interval is set to that value plus 60 seconds.

  • If the negotiated HeartbeatInterval is zero, the value used is that specified by the INTERVAL statement in the TCP profile configuration data set.

On platforms other than z/OS, if we need the functionality provided by the KeepAliveInterval parameter, use the HeartBeatInterval parameter.

LocalAddress (MQCFST)

Local communications address for the channel (parameter identifier: MQCACH_LOCAL_ADDRESS).

The maximum length of the string is MQ_LOCAL_ADDRESS_LENGTH.

The value that you specify depends on the transport type (TransportType) to be used:

TCP/IP

The value is the optional IP address and optional port or port range to be used for outbound TCP/IP communications. The format for this information is as follows:

[ip-addr][(low-port[,high-port])]
where ip-addr is specified in IPv4 dotted decimal, IPv6 hexadecimal notation, or alphanumeric form, and low-port and high-port are port numbers enclosed in parentheses. All are optional.

All Others

The value is ignored; no error is diagnosed.

Use this parameter if you want a channel to use a particular IP address, port, or port range for outbound communications. This is useful when a machine is connected to multiple networks with different IP addresses.

Examples of use

Value Meaning
9.20.4.98 Channel binds to this address locally
9.20.4.98 (1000) Channel binds to this address and port 1000 locally
9.20.4.98 (1000,2000) Channel binds to this address and uses a port in the range 1000 to 2000 locally
(1000) Channel binds to port 1000 locally
(1000,2000) Channel binds to a port in the range 1000 to 2000 locally

This parameter is valid for the following channel types:

  • MQCHT_SENDER

  • MQCHT_SERVER

  • MQCHT_REQUESTER

  • MQCHT_CLNTCONN

  • MQCHT_CLUSRCVR

  • MQCHT_CLUSSDR

LongRetryCount (MQCFIN)

Long retry count (parameter identifier: MQIACH_LONG_RETRY).

When a sender or server channel is attempting to connect to the remote machine, and the count specified by ShortRetryCount has been exhausted, this specifies the maximum number of further attempts that are made to connect to the remote machine, at intervals specified by LongRetryInterval.

If this count is also exhausted without success, an error is logged to the operator, and the channel is stopped. The channel must subsequently be restarted with a command (it is not started automatically by the channel initiator), and it then makes only one attempt to connect, as it is assumed that the problem has now been cleared by the administrator. The retry sequence is not carried out again until after the channel has successfully connected.

Specify a value in the range 0 through 999 999 999.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

LongRetryInterval (MQCFIN)

Long timer (parameter identifier: MQIACH_LONG_TIMER).

Specifies the long retry wait interval for a sender or server channel that is started automatically by the channel initiator. It defines the interval in seconds between attempts to establish a connection to the remote machine, after the count specified by ShortRetryCount has been exhausted.

The time is approximate; zero means that another connection attempt is made as soon as possible.

Specify a value in the range 0 through 999 999. Values exceeding this are treated as 999 999.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

MaxMsgLength (MQCFIN)

Maximum message length (parameter identifier: MQIACH_MAX_MSG_LENGTH).

Specifies the maximum message length that can be transmitted on the channel. This is compared with the value for the remote channel and the actual maximum is the lower of the two values.

The value zero means the maximum message length for the queue manager.

The lower limit for this parameter is 0. The upper limit depends on the environment:

  • On AIX, HP OpenVMS, Compaq NonStop Kernel, Linux, HP-UX, i5/OS, Solaris, Windows, and z/OS the maximum message length is 100 MB (104 857 600 bytes).

  • On UNIX systems not listed above, the maximum message length is 4 MB (4 194 304 bytes).

MCAName (MQCFST)

Message channel agent name (parameter identifier: MQCACH_MCA_NAME).

This is reserved, and if specified can be set only to blanks.

The maximum length of the string is MQ_MCA_NAME_LENGTH.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_REQUESTER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

MCAType (MQCFIN)

Message channel agent type (parameter identifier: MQIACH_MCA_TYPE).

Specifies the type of the message channel agent program.

On AIX, HP-UX, i5/OS, Solaris, Windows and Linux, this parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_REQUESTER, or MQCHT_CLUSSDR.

On z/OS, this parameter is valid only for a ChannelType value of MQCHT_CLURCVR.

The value can be:

MQMCAT_PROCESS

Process.

MQMCAT_THREAD

Thread.

MCAUserIdentifier (MQCFST)

Message channel agent user identifier (parameter identifier: MQCACH_MCA_USER_ID).

If this is nonblank, it is the user identifier which is to be used by the message channel agent for authorization to access WebSphere MQ resources, including (if PutAuthority is MQPA_DEFAULT) authorization to put the message to the destination queue for receiver or requester channels.

If it is blank, the message channel agent uses its default user identifier.

This user identifier can be overridden by one supplied by a channel security exit.

This parameter is not valid for channels with a ChannelType of MQCHT_CLNTCONN.

The maximum length of the MCA user identifier depends on the environment in which the MCA is running. MQ_MCA_USER_ID_LENGTH gives the maximum length for the environment for which your application is running. MQ_MAX_MCA_USER_ID_LENGTH gives the maximum for all supported environments.

On Windows, we can optionally qualify a user identifier with the domain name in the following format:

user@domain

MessageCompression (MQCFIL)

Header data compression techniques supported by the channel (parameter identifier: MQIACH_MSG_COMPRESSION). The list of message data compression techniques supported by the channel. For sender, server, cluster-sender, cluster-receiver, and client-connection channels, the values specified are in order of preference with the first compression technique supported by the remote end of the channel being used.

The channel's mutually supported compression techniques are passed to the sending channel's message exit where the compression technique used can be altered on a per message basis. Compression will alter the data passed to send and receive exits.

Specify one or more of:

MQCOMPRESS_NONE

No message data compression is performed. This is the default value.

MQCOMPRESS_RLE

Message data compression is performed using run-length encoding.

MQCOMPRESS_ZLIBFAST

Message data compression is performed using ZLIB encoding with speed prioritized.

MQCOMPRESS_ZLIBHIGH

Message data compression is performed using ZLIB encoding with compression prioritized.

MQCOMPRESS_ANY

Any compression technique supported by the queue manager can be used. This is only valid for receiver, requester, and server-connection channels.

ModeName (MQCFST)

Mode name (parameter identifier: MQCACH_MODE_NAME).

This is the LU 6.2 mode name.

The maximum length of the string is MQ_MODE_NAME_LENGTH.

  • On HP OpenVMS, i5/OS, Compaq NonStop Kernel, UNIX systems, and Windows, this can be set only to blanks. The actual name is taken instead from the CPI-C Communications Side Object or (on Windows) from the CPI-C symbolic destination name properties.

This parameter is valid only for channels with a TransportType of MQXPT_LU62. It is not valid for receiver or server-connection channels.

MsgExit (MQCFSL)

Message exit name (parameter identifier: MQCACH_MSG_EXIT_NAME).

If a nonblank name is defined, the exit is invoked immediately after a message has been retrieved from the transmission queue. The exit is given the entire application message and message descriptor for modification.

For channels with a channel type (ChannelType) of MQCHT_SVRCONN or MQCHT_CLNTCONN, this parameter is accepted but ignored, since message exits are not invoked for such channels.

The format of the string is the same as for SecurityExit.

The maximum length of the exit name depends on the environment in which the exit is running. MQ_EXIT_NAME_LENGTH gives the maximum length for the environment in which your application is running. MQ_MAX_EXIT_NAME_LENGTH gives the maximum for all supported environments.

In the following environments, a list of exit names can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • The exits are invoked in the order specified in the list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit names in the list (excluding trailing blanks in each name) must not exceed MQ_TOTAL_EXIT_NAME_LENGTH. An individual string must not exceed MQ_EXIT_NAME_LENGTH.

  • On z/OS, we can specify the names of up to 8 exit programs.

MsgRetryCount (MQCFIN)

Message retry count (parameter identifier: MQIACH_MR_COUNT).

Specifies the number of times that a failing message should be retried.

Specify a value in the range 0 through 999 999 999.

This parameter is valid only for ChannelType values of MQCHT_RECEIVER, MQCHT_REQUESTER, or MQCHT_CLUSRCVR.

MsgRetryExit (MQCFST)

Message retry exit name (parameter identifier: MQCACH_MR_EXIT_NAME).

If a nonblank name is defined, the exit is invoked prior to performing a wait before retrying a failing message.

The format of the string is the same as for SecurityExit.

The maximum length of the exit name depends on the environment in which the exit is running. MQ_EXIT_NAME_LENGTH gives the maximum length for the environment in which your application is running. MQ_MAX_EXIT_NAME_LENGTH gives the maximum for all supported environments.

This parameter is valid only for ChannelType values of MQCHT_RECEIVER, MQCHT_REQUESTER, or MQCHT_CLUSRCVR.

MsgRetryInterval (MQCFIN)

Message retry interval (parameter identifier: MQIACH_MR_INTERVAL).

Specifies the minimum time interval in milliseconds between retries of failing messages.

Specify a value in the range 0 through 999 999 999.

This parameter is valid only for ChannelType values of MQCHT_RECEIVER, MQCHT_REQUESTER, or MQCHT_CLUSRCVR.

MsgRetryUserData (MQCFST)

Message retry exit user data (parameter identifier: MQCACH_MR_EXIT_USER_DATA).

Specifies user data that is passed to the message retry exit.

The maximum length of the string is MQ_EXIT_DATA_LENGTH.

This parameter is valid only for ChannelType values of MQCHT_RECEIVER, MQCHT_REQUESTER, or MQCHT_CLUSRCVR.

MsgUserData (MQCFSL)

Message exit user data (parameter identifier: MQCACH_MSG_EXIT_USER_DATA).

Specifies user data that is passed to the message exit.

The maximum length of the string is MQ_EXIT_DATA_LENGTH.

For channels with a channel type (ChannelType) of MQCHT_SVRCONN or MQCHT_CLNTCONN, this parameter is accepted but ignored, since message exits are not invoked for such channels.

In the following environments, a list of exit user data strings can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • Each exit user data string is passed to the exit at the same ordinal position in the MsgExit list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit user data in the list (excluding trailing blanks in each string) must not exceed MQ_TOTAL_EXIT_DATA_LENGTH. An individual string must not exceed MQ_EXIT_DATA_LENGTH.

  • On z/OS, we can specify up to 8 strings.

NetworkPriority (MQCFIN)

Network priority (parameter identifier: MQIACH_NETWORK_PRIORITY).

The priority for the network connection. If there are multiple paths available, distributed queuing selects the path with the highest priority.

The value must be in the range 0 (lowest) through 9 (highest).

This parameter applies only to channels with a ChannelType of MQCHT_CLUSRCVR

NonPersistentMsgSpeed (MQCFIN)

Speed at which nonpersistent messages are to be sent (parameter identifier: MQIACH_NPM_SPEED).

This parameter is supported in the following environments: AIX, HP-UX, i5/OS, Solaris, Windows and Linux.

Specifying MQNPMS_FAST means that nonpersistent messages on a channel need not wait for a syncpoint before being made available for retrieval. The advantage of this is that nonpersistent messages become available for retrieval far more quickly. The disadvantage is that because they do not wait for a syncpoint, they might be lost if there is a transmission failure.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_RECEIVER, MQCHT_REQUESTER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR. The value can be:

MQNPMS_NORMAL

Normal speed.

MQNPMS_FAST

Fast speed.

Password (MQCFST)

Password (parameter identifier: MQCACH_PASSWORD).

This is used by the message channel agent when attempting to initiate a secure SNA session with a remote message channel agent. On HP OpenVMS, i5/OS, Compaq NonStop Kernel, and UNIX systems, it is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_REQUESTER, MQCHT_CLNTCONN, or MQCHT_CLUSSDR. On z/OS, it is valid only for a ChannelType value of MQCHT_CLNTCONN.

The maximum length of the string is MQ_PASSWORD_LENGTH. However, only the first 10 characters are used.

PutAuthority (MQCFIN)

Put authority (parameter identifier: MQIACH_PUT_AUTHORITY).

Specifies whether the user identifier in the context information associated with a message should be used to establish authority to put the message on the destination queue.

This parameter is valid only for channels with a ChannelType value of MQCHT_RECEIVER, MQCHT_REQUESTER, MQCHT_CLUSRCVR, or, on z/OS only, MQCHT_SVRCONN.

The value can be:

MQPA_DEFAULT

Default user identifier is used.

MQPA_CONTEXT

Context user identifier is used. This value is not valid for channels of type MQCHT_SVRCONN.

MQPA_ALTERNATE_OR_MCA

The user ID from the UserIdentifier field of the message descriptor is used. Any user ID received from the network is not used. This value is supported only on z/OS and is not valid for channels of type MQCHT_SVRCONN.

MQPA_ONLY_MCA

The default user ID is used. Any user ID received from the network is not used. This value is supported only on z/OS.

QMgrName (MQCFST)

Queue-manager name (parameter identifier: MQCA_Q_MGR_NAME).

For channels with a ChannelType of MQCHT_CLNTCONN, this is the name of a queue manager to which a client application can request connection.

For channels of other types, this parameter is not valid. The maximum length of the string is MQ_Q_MGR_NAME_LENGTH.

QSGDisposition (MQCFIN)

Disposition of the object within the group (parameter identifier: MQIA_QSG_DISP). This parameter applies to z/OS only.

Specifies the disposition of the object to which you are applying the command (that is, where it is defined and how it behaves). The value can be:

QSGDisposition Change Copy, Create
MQQSGD_COPY The object definition resides on the page set of the queue manager that executes the command. The object was defined using a command that had the parameter MQQSGD_COPY. Any object residing in the shared repository, or any object defined using a command that had the parameters MQQSGD_Q_MGR, is not affected by this command. The object is defined on the page set of the queue manager that executes the command using the MQQSGD_GROUP object of the same name as the ToChannelName object (for Copy) or ChannelName object (for Create).
MQQSGD_GROUP The object definition resides in the shared repository. The object was defined using a command that had the parameter MQQSGD_GROUP. Any object residing on the page set of the queue manager that executes the command (except a local copy of the object) is not affected by this command.

If the command is successful, the following MQSC command is generated and sent to all active queue managers in the queue-sharing group to attempt to refresh local copies on page set zero:

DEFINE CHANNEL(channel-name) 
CHLTYPE(type) REPLACE QSGDISP(COPY)
The Change for the group object takes effect regardless of whether the generated command with QSGDISP(COPY) fails.
The object definition resides in the shared repository. This is allowed only if the queue manager is in a queue-sharing group.

If the definition is successful, the following MQSC command is generated and sent to all active queue managers in the queue-sharing group to attempt to make or refresh local copies on page set zero:

DEFINE CHANNEL(channe-name) 
CHLTYPE(type) REPLACE QSGDISP(COPY)
The Copy or Create for the group object takes effect regardless of whether the generated command with QSGDISP(COPY) fails.
MQQSGD_PRIVATE The object resides on the page set of the queue manager that executes the command, and was defined with MQQSGD_Q_MGR or MQQSGD_COPY. Any object residing in the shared repository is unaffected.  Not permitted.
MQQSGD_Q_MGR The object definition resides on the page set of the queue manager that executes the command. The object was defined using a command that had the parameter MQQSGD_Q_MGR. Any object residing in the shared repository, or any local copy of such an object, is not affected by this command. This is the default value. The object is defined on the page set of the queue manager that executes the command. This is the default value.

ReceiveExit (MQCFSL)

Receive exit name (parameter identifier: MQCACH_RCV_EXIT_NAME).

If a nonblank name is defined, the exit is invoked before data received from the network is processed. The complete transmission buffer is passed to the exit and the contents of the buffer can be modified as required.

The format of the string is the same as for SecurityExit.

The maximum length of the exit name depends on the environment in which the exit is running. MQ_EXIT_NAME_LENGTH gives the maximum length for the environment in which your application is running. MQ_MAX_EXIT_NAME_LENGTH gives the maximum for all supported environments.

In the following environments, a list of exit names can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • The exits are invoked in the order specified in the list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit names in the list (excluding trailing blanks in each name) must not exceed MQ_TOTAL_EXIT_NAME_LENGTH. An individual string must not exceed MQ_EXIT_NAME_LENGTH.

  • On z/OS, we can specify the names of up to 8 exit programs.

ReceiveUserData (MQCFSL)

Receive exit user data (parameter identifier: MQCACH_RCV_EXIT_USER_DATA).

Specifies user data that is passed to the receive exit.

The maximum length of the string is MQ_EXIT_DATA_LENGTH.

In the following environments, a list of exit user data strings can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • Each exit user data string is passed to the exit at the same ordinal position in the ReceiveExit list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit user data in the list (excluding trailing blanks in each string) must not exceed MQ_TOTAL_EXIT_DATA_LENGTH. An individual string must not exceed MQ_EXIT_DATA_LENGTH.

  • On z/OS, we can specify up to 8 strings.

Replace (MQCFIN)

Replace channel definition (parameter identifier: MQIACF_REPLACE).

The value can be:

MQRP_YES

Replace existing definition.

If ChannelType is MQCHT_CLUSSDR, MQRP_YES can be specified only if the channel was created manually.

MQRP_NO

Do not replace existing definition.

SecurityExit (MQCFST)

Security exit name (parameter identifier: MQCACH_SEC_EXIT_NAME).

If a nonblank name is defined, the security exit is invoked at the following times:

  • Immediately after establishing a channel.

    Before any messages are transferred, the exit is given the opportunity to instigate security flows to validate connection authorization.

  • Upon receipt of a response to a security message flow.

    Any security message flows received from the remote processor on the remote machine are passed to the exit.

The exit is given the entire application message and message descriptor for modification.

The format of the string depends on the platform, as follows:

  • On iSeries and UNIX systems, it is of the form
    libraryname(functionname)

    On iSeries systems, the following form is also supported for compatibility with older releases:

    progname libname
    where progname occupies the first 10 characters, and libname the second 10 characters (both blank-padded to the right if necessary).

  • On Windows, it is of the form
    dllname(functionname)
    where dllname is specified without the suffix “.DLL”.

  • On HP OpenVMS, it is of the form
    imagename(functionname)

  • On z/OS, it is a load module name, maximum length 8 characters (128 characters are allowed for exit names for client-connection channels, subject to a maximum total length of 999).

The maximum length of the exit name depends on the environment in which the exit is running. MQ_EXIT_NAME_LENGTH gives the maximum length for the environment in which your application is running. MQ_MAX_EXIT_NAME_LENGTH gives the maximum for all supported environments.

SecurityUserData (MQCFST)

Security exit user data (parameter identifier: MQCACH_SEC_EXIT_USER_DATA).

Specifies user data that is passed to the security exit.

The maximum length of the string is MQ_EXIT_DATA_LENGTH.

SendExit (MQCFSL)

Send exit name (parameter identifier: MQCACH_SEND_EXIT_NAME).

If a nonblank name is defined, the exit is invoked immediately before data is sent out on the network. The exit is given the complete transmission buffer before it is transmitted; the contents of the buffer can be modified as required.

The format of the string is the same as for SecurityExit.

The maximum length of the exit name depends on the environment in which the exit is running. MQ_EXIT_NAME_LENGTH gives the maximum length for the environment in which your application is running. MQ_MAX_EXIT_NAME_LENGTH gives the maximum for all supported environments.

In the following environments, a list of exit names can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • The exits are invoked in the order specified in the list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit names in the list (excluding trailing blanks in each name) must not exceed MQ_TOTAL_EXIT_NAME_LENGTH. An individual string must not exceed MQ_EXIT_NAME_LENGTH.

  • On z/OS, we can specify the names of up to 8 exit programs.

SendUserData (MQCFSL)

Send exit user data (parameter identifier: MQCACH_SEND_EXIT_USER_DATA).

Specifies user data that is passed to the send exit.

The maximum length of the string is MQ_EXIT_DATA_LENGTH.

In the following environments, a list of exit user data strings can be specified by using an MQCFSL structure instead of an MQCFST structure: AIX, HP-UX, i5/OS, Solaris, Windows, Linux, and z/OS.

  • Each exit user data string is passed to the exit at the same ordinal position in the SendExit list.

  • A list with only one name is equivalent to specifying a single name in an MQCFST structure.

  • We cannot specify both a list (MQCFSL) and a single entry (MQCFST) structure for the same channel attribute.

  • The total length of all of the exit user data in the list (excluding trailing blanks in each string) must not exceed MQ_TOTAL_EXIT_DATA_LENGTH. An individual string must not exceed MQ_EXIT_DATA_LENGTH.

  • On z/OS, we can specify up to 8 strings.

SeqNumberWrap (MQCFIN)

Sequence wrap number (parameter identifier: MQIACH_SEQUENCE_NUMBER_WRAP).

Specifies the maximum message sequence number. When the maximum is reached, sequence numbers wrap to start again at 1.

The maximum message sequence number is not negotiable; the local and remote channels must wrap at the same number.

Specify a value in the range 100 through 999 999 999.

This parameter is not valid for channels with a ChannelType of MQCHT_SVRCONN or MQCHT_CLNTCONN.

ShortRetryCount (MQCFIN)

Short retry count (parameter identifier: MQIACH_SHORT_RETRY).

The maximum number of attempts that are made by a sender or server channel to establish a connection to the remote machine, at intervals specified by ShortRetryInterval before the (normally longer) LongRetryCount and LongRetryInterval are used.

Retry attempts are made if the channel fails to connect initially (whether it is started automatically by the channel initiator or by an explicit command), and also if the connection fails after the channel has successfully connected. However, if the cause of the failure is such that retry is unlikely to be successful, retries are not attempted.

Specify a value in the range 0 through 999 999 999.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

ShortRetryInterval (MQCFIN)

Short timer (parameter identifier: MQIACH_SHORT_TIMER).

Specifies the short retry wait interval for a sender or server channel that is started automatically by the channel initiator. It defines the interval in seconds between attempts to establish a connection to the remote machine.

The time is approximate; zero means that another connection attempt is made as soon as possible.

Specify a value in the range 0 through 999 999. Values exceeding this are treated as 999 999.

This parameter is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR.

SSLCipherSpec (MQCFST)

CipherSpec (parameter identifier: MQCACH_SSL_CIPHER_SPEC).

The length of the string is MQ_SSL_CIPHER_SPEC_LENGTH.

This parameter is valid only for channels with a transport type (TRPTYPE) of TCP. If the TRPTYPE is not TCP, the data is ignored and no error message is issued.

The SSLCIPH values must specify the same CipherSpec on both ends of the channel. For more information about working with CipherSpecs, see the WebSphere MQ Security book.

Specify the name of the CipherSpec that you are using. Alternatively, on i5/OS, and z/OS, we can specify the two-digit hexadecimal code.

The following table shows the CipherSpecs that can be used with WebSphere MQ SSL.

On i5/OS, installation of AC3 is a prerequisite of the use of SSL.

CipherSpecs that can be used with WebSphere MQ SSL support
CipherSpec name Hash algorithm Encryption algorithm Encryption bits FIPS on Windows and UNIX platforms¹
NULL_MD5

Available on all platforms.

MD5 None 0 No
NULL_SHA

Available on all platforms

SHA-1 None 0 No
RC4_MD5_EXPORT

Available on all platforms

MD5 RC4 40 No
RC4_MD5_US

Available on all platforms

MD5 RC4 128 No
RC4_SHA_US

Available on all platforms

SHA-1 RC4 128 No
RC2_MD5_EXPORT

Available on all platforms

MD5 RC2 40 No
DES_SHA_EXPORT

Available on all platforms

SHA-1 DES 56 No
RC4_56_SHA_EXPORT1024

  1. Not available for z/OS or i5/OS

  2. Specifies a 1024–bit handshake key size

SHA-1 RC4 56 No
DES_SHA_EXPORT1024

  1. Not available for z/OS or i5/OS

  2. Specifies a 1024–bit handshake key size

SHA-1 DES 56 No
TRIPLE_DES_SHA_US

Not available for i5/OS

SHA-1 3DES 168 No
TLS_RSA_WITH_AES_128_CBC_SHA

  1. Not available for i5/OS

  2. The protocol used is TLS rather than SSL

SHA-1 AES 128 Yes
TLS_RSA_WITH_AES_256_CBC_SHA

  1. Not available for i5/OS

  2. The protocol used is TLS rather than SSL

SHA-1 AES 256 Yes
AES_SHA_US

Available on i5/OS™ only

SHA-1 AES 128 No
TLS_RSA_WITH_DES_CBC_SHA

  1. Not available for z/OS or i5/OS

  2. The protocol used is TLS rather than SSL

SHA-1 DES 56 Yes
TLS_RSA_WITH_3DES_EDE_CBC_SHA

  1. Not available for z/OS or i5/OS

  2. The protocol used is TLS rather than SSL

SHA-1 3DES 168 Yes
FIPS_WITH_DES_CBC_SHA

Available only on Windows and UNIX platforms

SHA-1 DES 56 Yes
FIPS_WITH_3DES_EDE_CBC_SHA

Available only on Windows and UNIX platforms

SHA-1 3DES 168 Yes

  1. Is the CipherSpec FIPS-certified on a FIPS-certified platform? See “CipherSuites and CipherSpecs” in the WebSphere MQ SecurityWebSphere MQ: Security manual for an explanation of FIPS.

When you request a personal certificate, you specify a key size for the public and private key pair. The key size that is used during the SSL handshake can depend on the size stored in the certificate and on the CipherSpec:

  • On UNIX systems, Windows systems, and z/OS, when a CipherSpec name includes _EXPORT, the maximum handshake key size is 512 bits. If either of the certificates exchanged during the SSL handshake has a key size greater than 512 bits, a temporary 512-bit key is generated for use during the handshake.

  • On UNIX and Windows systems, when a CipherSpec name includes _EXPORT1024, the handshake key size is 1024 bits.

  • Otherwise the handshake key size is the size stored in the certificate.

If the SSLCIPH parameter is blank, no attempt is made to use SSL on the channel.

SSLClientAuth (MQCFIN)

Client authentication (parameter identifier: MQIACH_SSL_CLIENT_AUTH).

The value can be:

MQSCA_REQUIRED

Client authentication required

MQSCA_OPTIONAL

Client authentication optional.

Defines whether WebSphere MQ requires a certificate from the SSL client.

The initiating end of the channel acts as the SSL client, so this applies to the end of the channel that receives the initiation flow, which acts as the SSL server.

The parameter is used only for channels with SSLCIPH specified. If SSLCIPH is blank, the data is ignored and no error message is issued.

SSLPeerName (MQCFST)

Peer name (parameter identifier: MQCACH_SSL_PEER_NAME).

On platforms other than z/OS, the length of the string is MQ_SSL_PEER_NAME_LENGTH. On z/OS, it is MQ_SSL_SHORT_PEER_NAME_LENGTH.

Specifies the filter to use to compare with the Distinguished Name of the certificate from the peer queue manager or client at the other end of the channel. (A Distinguished Name is the identifier of the SSL certificate.) If the Distinguished Name in the certificate received from the peer does not match the SSLPEER filter, the channel does not start.

This parameter is optional; if it is not specified, the Distinguished Name of the peer is not checked at channel start up. (The Distinguished Name from the certificate is still written into the SSLPEER definition held in memory, and passed to the security exit). If SSLCIPH is blank, the data is ignored and no error message is issued.

This parameter is valid for all channel types.

The SSLPEER value is specified in the standard form used to specify a Distinguished Name. For example: SSLPEER('CN="xxx yyy zzz",O=xxx,C=xxx')

We can use a semi-colon as a separator instead of a comma.

The possible attribute types supported are:

CN common name
T title
OU organizational unit name
O organization name
L locality name
ST, SP™ or S state or province name
C country
WebSphere MQ only accepts upper case letters for the attribute types.

If any of the unsupported attribute types are specified in the SSLPEER string, an error is output either when the attribute is defined or at run time (depending on which platform you are running on), and the string is deemed not to have matched the flowed certificate's Distinguished Name.

If the flowed certificate's Distinguished Name contains multiple OU (organisational unit) attributes, and SSLPEER specifies these attributes to be compared, they must be defined in descending hierarchical order. For example, if the flowed certificate's Distinguished Name contains the OUs OU=Large Unit,OU=Medium Unit,OU=Small Unit, specifying the following SSLPEER values will work:

('OU=Large Unit,OU=Medium Unit')
('OU=*,OU=Medium Unit,OU=Small Unit')
('OU=*,OU=Medium Unit')
but specifying the following SSLPEER values will fail:
('OU=Medium Unit,OU=Small Unit')
('OU=Large Unit,OU=Small Unit')
('OU=Medium Unit')

Any or all of the attribute values can be generic, either an asterisk (*) on its own, or a stem with initiating or trailing asterisks. This allows the SSLPEER to match any Distinguished Name value, or any value starting with the stem for that attribute.

If an asterisk is specified at the beginning or end of any attribute value in the Distinguished Name on the certificate, we can specify \* to check for an exact match in SSLPEER. For example, if you have an attribute of CN=Test* in the Distinguished Name of the certificate, we can use the following command:

SSLPEER('CN=Test\*')

TpName (MQCFST)

Transaction program name (parameter identifier: MQCACH_TP_NAME).

This is the LU 6.2 transaction program name.

The maximum length of the string is MQ_TP_NAME_LENGTH.

  • On HP OpenVMS, i5/OS, Compaq NonStop Kernel, UNIX systems, and Windows, this can be set only to blanks. The actual name is taken instead from the CPI-C Communications Side Object or (on Windows) from the CPI-C symbolic destination name properties.

This parameter is valid only for channels with a TransportType of MQXPT_LU62. It is not valid for receiver channels.

TransportType (MQCFIN)

Transmission protocol type (parameter identifier: MQIACH_XMIT_PROTOCOL_TYPE).

No check is made that the correct transport type has been specified if the channel is initiated from the other end. The value can be:

MQXPT_LU62

LU 6.2.

MQXPT_TCP

TCP.

MQXPT_NETBIOS

NetBIOS.

This value is supported in Windows. It also applies to z/OS for defining client-connection channels that connect to servers on the platforms supporting NetBIOS.

MQXPT_SPX

SPX.

This value is supported in Windows. It also applies to z/OS for defining client-connection channels that connect to servers on the platforms supporting SPX.

MQXPT_DECNET

DECnet.

This value is supported in the following environment: HP OpenVMS.

UserIdentifier (MQCFST)

Task user identifier (parameter identifier: MQCACH_USER_ID).

This is used by the message channel agent when attempting to initiate a secure SNA session with a remote message channel agent. On HP OpenVMS, i5/OS, Compaq NonStop Kernel, UNIX systems, it is valid only for ChannelType values of MQCHT_SENDER, MQCHT_SERVER, MQCHT_REQUESTER, MQCHT_CLNTCONN, MQCHT_CLUSSDR, or MQCHT_CLUSRCVR. On z/OS, it is valid only for a ChannelType value of MQCHT_CLNTCONN.

The maximum length of the string is MQ_USER_ID_LENGTH. However, only the first 10 characters are used.

XmitQName (MQCFST)

Transmission queue name (parameter identifier: MQCACH_XMIT_Q_NAME).

The maximum length of the string is MQ_Q_NAME_LENGTH.

A transmission queue name is required (either previously defined or specified here) if ChannelType is MQCHT_SENDER or MQCHT_SERVER. It is not valid for other channel types.

 

Parent topic:

Change, Copy and Create Channel


pc11020_


 

Home