Deleting message queues

Use this command to delete messages that are queued to an MCS, Start of changeHMCSEnd of change or SMCS console. It affects only messages currently on the console’s queue. Subsequent messages are queued as usual. This command is generally, though not exclusively, for use in error situations.

The command gives you more control over MCS, Start of changeHMCSEnd of change and SMCS console message queues. If there is a WTO buffer shortage, you can delete the messages to speed up console processing or alleviate storage problems. You might need to issue the command several times to clear the console of messages.

Note: This CONTROL command is not valid for extended MCS consoles or extended MCS console message queues.
The kinds of messages that are deleted are:
The kinds of messages that are not deleted are:

The syntax is:

 
K Q[,L=name]
             
Q
The CONTROL command is to delete a console’s message queue.
L=name
The name of the console whose message queue is to be deleted. If this operand is omitted, the message queue of the console from which the K Q command is entered is deleted.

Example 1:

To delete any messages on the issuing full-capability console’s queue, enter:
K Q

Example 2:

To delete messages queued on console CON2, enter:
K Q,L=CON2