Emptying a queue of all messages (EMPTY)

Use the EMPTY function to delete all messages from a named queue or all the queues on a page set. The queue manager must be running. The scope of the function is determined by the keyword that you specify in the first parameter.

Use this function with care. Only delete messages of which copies have already been made.

Note:
See Syncpoints for information about how to avoid problems with duplicate messages if this function fails.

Queue management (EMPTY)
Read syntax diagramSkip visual syntax diagram>>-EMPTY--| Object Selection |---------------------------------><

Object Selection

|--+-QUEUE(q-name)-----+----------------------------------------|
   '-PSID(psid-number)-'