DELETE QLOCAL

Use DELETE QLOCAL to delete a local queue definition. You can specify that the queue must not be deleted if it contains messages, or that it can be deleted even if it contains messages.

Synonym: DELETE QL

Read syntax diagramSkip visual syntax diagramDELETE QLOCAL

                          .-CMDSCOPE(' ')------------. (2)
>>-DELETE QLOCAL(q-name)--+--------------------------+---------->
                          |                     (1)  |
                          +-CMDSCOPE(qmgr-name)------+
                          |             (1)          |
                          '-CMDSCOPE(*)--------------'

   .-NOPURGE-.  .-QSGDISP(QMGR)--------. (2)
>--+---------+--+----------------------+-----------------------><
   '-PURGE---'  +-QSGDISP(COPY)--------+
                |                (1)   |
                +-QSGDISP(GROUP)-------+
                |                 (1)  |
                '-QSGDISP(SHARED)------'

Notes:
  1. Valid only on z/OS when the queue manager is a member of a queue-sharing group.
  2. Valid only on z/OS.