The ADDRESS MQ INQUIRE command inquires which attributes are set for the queue or queue manager.
Calling this command creates the compound variables, where you can specify a stem variable or use the default stem, and the tail is the attribute name.
This command has the following format:
ADDRESS MQ INQUIRE
{ATTRIBUTES(attributes)}
[STEM(varSTEM)]
{CONHANDLE(varHCONN)}
{OBJHANDLE(varHOBJ)}
Specifies which attributes to get. You can specify up to 16 attributes.
There are six types of attributes:
Returns the excessive backout requeue name.
Returns the queue name to which the alias resolves.
Returns the coupling-facility structure name.
Returns the cluster name.
Returns the cluster name list.
Returns the queue creation date.
Returns the queue creation time.
Returns the initiation queue name.
Returns the process definition name.
Returns the queue description.
Returns the queue name.
Returns the remote queue manager name.
Returns the remote queue name as known on the remote queue manager.
Returns the storage class name.
Returns the trigger data.
Returns the transmission queue name.
Returns the automatic channel definition exit name.
Returns the data passed to cluster workload exit.
Returns the cluster workload exit name.
Returns the system command input queue name.
Returns the dead-letter queue name.
Returns the default transmission queue name.
Returns the TCP listener group name.
Returns the intra-group queuing user identifier.
Returns the LU 6.2 listener generic LU name.
Returns the LU name to use for outbound LU 6.2 transmissions.
Returns the suffix of the SYS1.PARMLIB member APPCPMxx.
Returns the queue manager description.
Returns the queue-manager identifier.
Returns the local queue manager name.
Returns the queue-sharing group name.
Returns the cluster name for which queue manager provides repository services.
Returns the name of the namelist object containing the names of clusters for which queue manager provides repository services.
Returns the name of the TCP/IP system that you are using.
Returns the date of most-recent alteration.
Returns the time of most-recent alteration.
Returns the backout threshold.
Returns the priority of the queue.
Returns the rank of the queue.
Returns the remote queues to be used.
Returns the number of messages on queue.
Returns the default binding.
Returns the default open-for-input option.
Returns the default message persistence.
Returns the default message priority.
Returns the queue definition type.
Returns whether to harden the backout count.
Returns the type of index maintained for queue.
Returns whether get operations are allowed.
Returns whether put operations are allowed.
Returns the maximum message length.
Returns the maximum number of messages allowed on queue.
Returns whether message priority is relevant.
Returns the level of reliability for nonpersistent messages.
Returns the number of MQOPEN calls that have the queue open for input.
Returns the number of MQOPEN calls that have the queue open for output.
Returns the queue type.
Returns the queue-sharing group disposition.
Returns the queue retention interval.
Returns whether the queue can be shared for input.
Returns the trigger control.
Returns the trigger depth.
Returns the threshold message priority for triggers.
Valid values: 0 - MaxPriority
Maximum message priority supported by the queue manager.
Lowest: 0
Highest: MaxPriority
Returns the trigger type.
Returns the usage.
Returns the maximum number of active channels.
Returns whether to adopt the new MCA when a new inbound channel is detected with the same name as the active MCA.
Returns whether to automatically restart an orphaned MCA instance of a given channel type when a new inbound channel request matches the AdoptNewMCACheck parameters.
Returns the control attribute for IMS bridge events.
Returns the control attribute for channel events.
Returns the number of adapter subtasks to use for processing WebSphere MQ calls.
Returns the number of dispatchers to use for the channel initiator.
Returns whether to start channel initiator trace automatically.
Returns the size of the channel initiator's trace data space (in MB).
Returns the cluster workload length.
Returns the channel MRU.
Returns the coded character set identifier.
Returns the control attribute for command events.
Returns the command level supported by queue manager.
Returns whether the TCP listener registers with Workload Manager for Dynamic Domain Name Services.
Returns the interval between scans for expired messages.
Returns the intra-group queuing put authority.
Returns the intra-group queuing support.
Returns the time interval in seconds between WebSphere MQ attempts to restart the listener (in case of an APPC or TCP/IP failure).
Returns the maximum number of channels that can be current, or clients that can be connected.
Returns the maximum number of channels that can be current.
Returns the maximum number of handles.
Returns the maximum message length.
Returns the maximum priority.
Returns the maximum number of uncommitted messages within a unit of work.
Defines range of port numbers to use when binding outgoing channels.
Defines range of port numbers to use when binding outgoing channels.
Returns the platform on which the queue manager resides.
Returns approximately how long a TCP/IP channel waits to receive data.
Returns the minimum time that a TCP/IP channel waits to receive data.
Returns approximately how long a TCP/IP channel waits to receive data.
Returns the control attribute for channel events.
Returns the SSL key reset count.
Returns the syncpoint availability.
Returns the maximum number of channels that can be current, or clients that can be connected.
Returns whether to use the TCP KEEPALIVE facility to check that the connection is still available.
Returns whether the channel initiator can use only the TCP/IP address space specified in TCPNAME, or can optionally bind to any selected TCP/IP address.
Controls recording of trace-route information.
Returns the trigger interval.
Use remote queues.
(Optional) Defines the stem of the compound variable that stores the attributes. If omitted, MQ will be used.
This compound variable is created after the MQ INQUIRE command.
Defines the variable name that stores the connection handle.
Defines the variable name that stores the object handle.
Examples: MQ INQUIRE
This example of MQ INQUIRE has two attributes, alteration date and time, and omits the STEM.
address MQ "INQUIRE CONHANDLE(HCONN) OBJHANDLE(HOBJ)",
"ATTRIBUTES(ALTERATION_DATE ALTERATION_TIME)"
say MQ.ALTENATION_DATE
say MQ.ALTENATION_TIME
This example of MQ INQUIRE has three attributes, TCP name, number of handles, and TCP channels. The STEM is omitted. This example is valid only if the object is queue manager (object opened with MQ OPEN command).
address MQ "INQUIRE CONHANDLE(HCONN) OBJHANDLE(HOBJ)",
"ATTRIBUTES(TCP_NAME MAX_HANDLES TCP_CHANNELS)"
say MQ.TCP_NAME
say MQ.MAX_HANDLES
say MQ.TCP_CHANNELS
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|