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, you can inquire either:
You must also specify whether you want:
Status for all channels that meet the selection criteria is given, whether the channels were defined manually or automatically.
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.
Therefore, a channel which has never been current will not have any saved status.
This method of operation has the following consequences:
Channels can be current or inactive:
The term Active is used to describe the set of current channels which are not stopped.
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.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
inqchs |