Accessing CQS with IMS commands

These IMS commands apply to the local IMS only. Commands and command responses are not placed on the shared queues; therefore, they are not recoverable.

You can use the following IMS commands to interact with a CQS:

/CQCHKPT SHAREDQ
Initiates a CQS structure checkpoint.
/CQCHKPT SYSTEM
Initiates a CQS system checkpoint.
/CQQUERY STATISTICS
Displays statistics for primary and overflow structures.
/CQSET SHUTDOWN SHAREDQ
Sets status to take structure checkpoint at CQS shutdown.
/DEQUEUE
Dequeues one or more messages from one of the following:
  • An outbound APPC queue
  • A Fast Path program
  • An LTERM
  • An MSNAME
  • An outbound OTMA queue
  • A message queue
  • A remote transaction or a remote LTERM
  • A transaction
/DEQUEUE SUSPEND
Dequeues one or more suspended transactions.
/DISPLAY CQS
Displays CQS information that IMS tracks.
/DISPLAY MODIFY
Displays local work in progress.
/DISPLAY OVERFLOWQ
Displays a list of queue names that are in overflow mode.
/DISPLAY QCNT
Displays global queue information for a particular resource type.
/DISPLAY STRUCTURE
Displays structure status.
/DISPLAY TRACE TABLE QMGR
Displays queue manager trace table status.
/DISPLAY TRACE TABLE SQTT
Displays shared-queues trace table status.
/TRACE SET OFF TABLE QMGR
Stops trace of queue manager activity.
/TRACE SET ON TABLE QMGR
Starts trace of queue manager activity.
/TRACE SET OFF TABLE SQTT
Stops trace of shared-queues activity.
/TRACE SET ON TABLE SQTT
Starts trace of shared-queues activity.
QUERY TRAN
Displays information about messages on the shared queues.
QUEUE TRAN
Enqueues and dequeues messages on the shared queues.