If you have issued an MQSC command from an application (and not from a z/OS console), but you have not received a response, consider the following questions:
Check that the command server is running, as follows:
If these values show that the queue is full, and the command server has been started, this indicates that messages are not being read from the queue.
Use the DISPLAY QMGR DEADQ command to find out the name of the system dead-letter queue (if you do not know what it is).
Use this name in the DISPLAY QUEUE command with the CURDEPTH attribute to see if there are any messages on the queue.
The dead-letter queue message header (dead-letter header structure) contains a reason or feedback code describing the problem. (See the WebSphere MQ Application Programming Reference manual for information about the dead-letter header structure.)
If you are using your own application program to put commands onto the system-command input queue, consider whether you need to take a syncpoint.
You need to take a syncpoint after putting messages to a queue, and before attempting to receive reply messages, or use MQPMO_NO_SYNCPOINT when putting them. Unless you have specifically excluded your request message from syncpoint, you need to take a syncpoint before attempting to receive reply messages.
You need to identify the queue and then display the CURDEPTH. Use the DISPLAY QUEUE command from the console, for example, DISPLAY QUEUE (MY.REPLY.QUEUE) CURDEPTH, to see if there are messages on the reply-to queue that you have not received.
Set the values of MsgId and CorrelId in your application to ensure that you receive all messages from the queue. See the WebSphere MQ Application Programming Guide for information about using these fields.
The following questions are applicable if you have issued an MQSC command from either a z/OS console (or its equivalent), or an application, but have not received a response:
See the WebSphere MQ for z/OS Concepts and Planning Guide for information about the different methods you can use to enter MQSC commands.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq412e |