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 set. You can specify up to 16 attributes.
There are six types of attributes:
Sets the excessive backout requeue name.
Sets the queue name to which the alias resolves.
Sets the coupling-facility structure name.
Sets the cluster name.
Sets the cluster name list.
Sets the queue creation date.
Sets the queue creation time.
Sets the initiation queue name.
Sets the process definition name.
Sets the queue description.
Sets the queue name.
Sets the remote queue manager name.
Sets the remote queue name as known on the remote queue manager.
Sets the storage class name.
Sets the trigger data.
Sets the transmission queue name.
Sets the automatic channel definition exit name.
Sets the data passed to cluster workload exit.
Sets the cluster workload exit name.
Sets the system command input queue name.
Sets the dead-letter queue name.
Sets the default transmission queue name.
Sets the TCP listener group name.
Sets the intra-group queuing user identifier.
Sets the LU 6.2 listener generic LU name.
Sets the LU name to use for outbound LU 6.2 transmissions.
Sets the suffix of the SYS1.PARMLIB member APPCPMxx.
Sets the queue manager description.
Sets the queue-manager identifier.
Sets the local queue manager name.
Sets the queue-sharing group name.
Sets the cluster name for which queue manager provides repository services.
Sets the name of the namelist object containing the names of clusters for which queue manager provides repository services.
Sets the name of the TCP/IP system that you are using.
Sets the date of most-recent alteration.
Sets the time of most-recent alteration.
Sets the backout threshold.
Sets the priority of the queue.
Sets the rank of the queue.
Sets the remote queues to be used.
Sets the number of messages on queue.
Sets the default binding.
Sets the default open-for-input option.
Sets the default message persistence.
Sets the default message priority.
Sets the queue definition type.
Sets whether to harden the backout count.
Sets the type of index maintained for queue.
Sets whether get operations are allowed.
Sets whether put operations are allowed.
Sets the maximum message length.
Sets the maximum number of messages allowed on queue.
Sets whether message priority is relevant.
Sets the level of reliability for nonpersistent messages.
Sets the number of MQOPEN calls that have the queue open for input.
Sets the number of MQOPEN calls that have the queue open for output.
Sets the queue type.
Sets the queue-sharing group disposition.
Sets the queue retention interval.
Sets whether the queue can be shared for input.
Sets the trigger control.
Sets the trigger depth.
Sets the threshold message priority for triggers.
Valid values: 0 - MaxPriority
Maximum message priority supported by the queue manager.
Lowest: 0
Highest: MaxPriority
Sets the trigger type.
Sets the usage.
Sets the maximum number of active channels.
Sets whether to adopt the new MCA when a new inbound channel is detected with the same name as the active MCA.
Sets whether to automatically restart an orphaned MCA instance of a given channel type when a new inbound channel request matches the AdoptNewMCACheck parameters.
Sets the control attribute for IMS bridge events.
Sets the control attribute for channel events.
Sets the number of adapter subtasks to use for processing WebSphere MQ calls.
Sets the number of dispatchers to use for the channel initiator.
Sets whether to start channel initiator trace automatically.
Sets the size of the channel initiator's trace data space (in MB).
Sets the cluster workload length.
Sets the channel MRU.
Sets the coded character set identifier.
Sets the control attribute for command events.
Sets the command level supported by queue manager.
Sets whether the TCP listener registers with Workload Manager for Dynamic Domain Name Services.
Sets the interval between scans for expired messages.
Sets the intra-group queuing put authority.
Sets the intra-group queuing support.
Sets the time interval in seconds between WebSphere MQ attempts to restart the listener (in case of an APPC or TCP/IP failure).
Sets the maximum number of channels that can be current, or clients that can be connected.
Sets the maximum number of channels that can be current.
Sets the maximum number of handles.
Sets the maximum message length.
Sets the maximum priority.
Sets 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.
Sets the platform on which the queue manager resides.
Sets approximately how long a TCP/IP channel waits to receive data.
Sets the minimum time that a TCP/IP channel waits to receive data.
Sets approximately how long a TCP/IP channel waits to receive data.
Sets the control attribute for channel events.
Sets the SSL key reset count.
Sets the syncpoint availability.
Sets the maximum number of channels that can be current, or clients that can be connected.
Sets whether to use the TCP KEEPALIVE facility to check that the connection is still available.
Sets 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.
Sets 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.ALTERNATION_DATE
say MQ.ALTERNATION_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 © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |