Home

 

Inquire Channel Status

 

Compaq NonStop Kernel HP OpenVMS i5/OS UNIX systems Windows z/OS
X X X X X X

The Inquire Channel Status (MQCMD_INQUIRE_CHANNEL_STATUS) command inquires about the status of one or more channel instances.

You must specify the name of the channel for which you want to inquire status information. This can be a specific channel name or a generic channel name. By using a generic channel name, we can inquire either:

You must also specify whether you want:

There are three classes of data available for channel status. These are saved, current, and short. The status fields available for saved data are a subset of the fields available for current data and are called common status fields. Note that although the common data fields are the same, the data values might be different for saved and current status. The rest of the fields available for current data are called current-only status fields.

This method of operation has the following consequences:

Channels can be current or inactive:

Current channels

These are channels that have been started, or on which a client has connected, and that have not finished or disconnected normally. They may not yet have reached the point of transferring messages, or data, or even of establishing contact with the partner. Current channels have current status and can also have saved or shortstatus.

The term Active is used to describe the set of current channels which are not stopped.

Inactive channels

These are channels that have either not been started or on which a client has not connected, or that have finished or disconnected normally. (Note that if a channel is stopped, it is not yet considered to have finished normally – and is, therefore, still current.) Inactive channels have either saved status or no status at all.

There can be more than one instance of a receiver, requester, cluster-sender, cluster-receiver, or server-connection channel current at the same time (the requester is acting as a receiver). This occurs if several senders, at different queue managers, each initiate a session with this receiver, using the same channel name. For channels of other types, there can only be one instance current at any time.

For all channel types, however, there can be more than one set of saved status information available for a given channel name. At most one of these sets relates to a current instance of the channel, the rest relate to previously current instances. Multiple instances arise if different transmission queue names or connection names have been used in connection with the same channel. This can happen in the following cases:

The number of sets returned for a given channel can be limited by using the XmitQName, ConnectionName and ChannelInstanceType parameters.

Required parameters:

ChannelName

Optional parameters:

ChannelDisposition, ChannelInstanceAttrs, ChannelInstanceType, CommandScope, ConnectionName, IntegerFilterCommand, StringFilterCommand, XmitQName

 

Parent topic:

Definitions of the Programmable Command Formats


pc12430_


 

Home