DEFINE QLOCAL

Use DEFINE QLOCAL to define a new local queue, and set its parameters.

Synonym: DEF QL

Read syntax diagramSkip visual syntax diagramDEFINE QLOCAL

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

   .-QSGDISP(QMGR)--------. (2)
>--+----------------------+-------+------------------+---------->
   |               (1)    |       '-| define attrs |-'
   +-QSGDISP(COPY)--------+
   |                (1)   |
   +-QSGDISP(GROUP)-------+
   |                 (1)  |
   '-QSGDISP(SHARED)------'

>--+--------------------+--+-------------------+---------------><
   '-| common q attrs |-'  '-| local q attrs |-'

Define attrs:

                          .-NOREPLACE-.
|--+-------------------+--+-----------+-------------------------|
   '-LIKE(qlocal-name)-'  '-REPLACE---'

Common q attrs:

                (3)                     (3)
   .-DEFPRTY(0)-------.  .-DEFPSIST(NO)------.
|--+------------------+--+-------------------+------------------>
   '-DEFPRTY(integer)-'  '-DEFPSIST(YES)-----'

                (3)                    (3)
   .-DESCR(' ')------.  .-PUT(ENABLED)------.
>--+-----------------+--+-------------------+-------------------|
   '-DESCR(string)---'  '-PUT(DISABLED)-----'

Local q attrs:

                 (3)                    (3)
   .-ACCTQ(QMGR)------.  .-BOQNAME(' ')------.
|--+------------------+--+-------------------+------------------>
   '-ACCTQ(-+-ON--+-)-'  '-BOQNAME(string)---'
            '-OFF-'

                 (3)
   .-BOTHRESH(0)-------.  .-CFSTRUCT(' ')------------. (2)
>--+-------------------+--+--------------------------+---------->
   '-BOTHRESH(integer)-'  '-CFSTRUCT(structure-name)-'

                 (3)                         (3)
   .-CLUSNL(' ')------. (4)   .-CLUSTER(' ')---------. (4)
>--+------------------+-------+----------------------+---------->
   '-CLUSNL(nlname)---'       '-CLUSTER(clustername)-'

                 (3)                    (3)
   .-CLWLPRTY(0)-------.  .-CLWLRANK(0)-------.
>--+-------------------+--+-------------------+----------------->
   '-CLWLPRTY(integer)-'  '-CLWLRANK(integer)-'

                    (3)                       (3)
   .-CLWLUSEQ(QMGR)--------.  .-DEFBIND(OPEN)------. (4)
>--+-----------------------+--+--------------------+------------>
   '-CLWLUSEQ(-+-ANY---+-)-'  '-DEFBIND(NOTFIXED)--'
               '-LOCAL-'

                     (5)                 (3)
   .-DEFSOPT(SHARED)------.  .-DISTL(NO)------. (6)
>--+----------------------+--+----------------+----------------->
   '-DEFSOPT(EXCL)--------'  '-DISTL(YES)-----'

                  (3)                  (3)
   .-GET(ENABLED)------.  .-NOHARDENBO------.
>--+-------------------+--+-----------------+------------------->
   '-GET(DISABLED)-----'  '-HARDENBO--------'

                    (3)                            (3)
   .-INDXTYPE(NONE)-----------. (2)   .-INITQ(' ')------.
>--+--------------------------+-------+-----------------+------->
   '-INDXTYPE(-+-MSGID----+-)-'       '-INITQ(string)---'
               +-CORRELID-+
               +-GROUPID--+
               '-MSGTOKEN-'

                    (7)                          (3)
   .-MAXDEPTH(5000)------.  .-MAXMSGL(4 194 304)------.
>--+---------------------+--+-------------------------+--------->
   '-MAXDEPTH(integer)---'  '-MAXMSGL(integer)--------'

                (3)                             (3)
   .-MONQ(QMGR)---------.  .-MSGDLVSQ(PRIORITY)------.
>--+--------------------+--+-------------------------+---------->
   '-MONQ(-+-OFF----+-)-'  '-MSGDLVSQ(FIFO)----------'
           +-LOW----+
           +-MEDIUM-+
           '-HIGH---'

                      (3)                         (3)
   .-NPMCLASS(NORMAL)------. (8)   .-PROCESS(' ')------.
>--+-----------------------+-------+-------------------+-------->
   '-NPMCLASS(HIGH)--------'       '-PROCESS(string)---'

                  (3)                    (9)
   .-QDEPTHHI(80)------.  .-QDEPTHLO(40)------.
>--+-------------------+--+-------------------+----------------->
   '-QDEPTHHI(integer)-'  '-QDEPTHLO(integer)-'

                       (3)                         (3)
   .-QDPHIEV(DISABLED)------.  .-QDPLOEV(DISABLED)------.
>--+------------------------+--+------------------------+------->
   '-QDPHIEV(ENABLED)-------'  '-QDPLOEV(ENABLED)-------'

                       (3)                     (3)
   .-QDPMAXEV(ENABLED)------.  .-QSVCIEV(NONE)-------.
>--+------------------------+--+---------------------+---------->
   '-QDPMAXEV(DISABLED)-----'  '-QSVCIEV(-+-HIGH-+-)-'
                                          '-OK---'

                          (3)
   .-QSVCINT(999 999 999)------.
>--+---------------------------+-------------------------------->
   '-QSVCINT(integer)----------'

                           (3)                   (10) (3)
   .-RETINTVL(999 999 999)------.  .-SCOPE(QMGR)-----------.
>--+----------------------------+--+-----------------------+---->
   '-RETINTVL(integer)----------'  |             (11)      |
                                   '-SCOPE(CELL)-----------'

           (12)                   (3)
   .-SHARE-------.  .-STATQ(QMGR)------. (13)
>--+-------------+--+------------------+------------------------>
   '-NOSHARE-----'  '-STATQ(-+-OFF-+-)-'
                             '-ON--'

                         (3)                          (3)
   .-STGCLASS('DEFAULT')------. (2)   .-TRIGDATA(' ')------.
>--+--------------------------+-------+--------------------+---->
   '-STGCLASS(string)---------'       '-TRIGDATA(string)---'

                 (3)                  (3)
   .-TRIGDPTH(1)-------.  .-NOTRIGGER------.
>--+-------------------+--+----------------+-------------------->
   '-TRIGDPTH(integer)-'  '-TRIGGER--------'

                 (3)                        (3)
   .-TRIGMPRI(0)-------.  .-TRIGTYPE(FIRST)-------.
>--+-------------------+--+-----------------------+------------->
   '-TRIGMPRI(integer)-'  '-TRIGTYPE(-+-EVERY-+-)-'
                                      +-DEPTH-+
                                      '-NONE--'

                   (3)
   .-USAGE(NORMAL)------.
>--+--------------------+---------------------------------------|
   '-USAGE(XMITQ)-------'

Notes:
  1. Valid only on z/OS when the queue manager is a member of a queue-sharing group.
  2. Used only on z/OS.
  3. This is the default supplied with WebSphere MQ, but your installation might have changed it.
  4. Valid only on AIX, HP OpenVMS, HP-UX, Linux, i5/OS, Solaris, Windows, and z/OS.
  5. This is the default supplied with WebSphere MQ (except on z/OS, where it is EXCL), but your installation might have changed it.
  6. Valid only on AIX, HP OpenVMS, HP-UX, Linux, i5/OS, Solaris, and Windows.
  7. This is the default supplied with WebSphere MQ (except on z/OS, where it is 999 999 999), but your installation might have changed it.
  8. Not valid on z/OS.
  9. This is the default supplied with WebSphere MQ (except on platforms other than z/OS where it is 20), but your installation might have changed it.
  10. Valid only on HP OpenVMS, i5/OS, UNIX systems, and Windows.
  11. Valid only on HP OpenVMS, UNIX systems, and Windows.
  12. This is the default supplied with WebSphere MQ (except on z/OS, where it is NOSHARE), but your installation might have changed it.
  13. Valid only on i5/OS, UNIX systems, and Windows.