|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Queue Info? |
« View previous topic :: View next topic » |
Author |
Message
|
newbiedude |
Posted: Tue Jan 25, 2005 1:20 pm Post subject: Queue Info? |
|
|
Voyager
Joined: 22 Dec 2002 Posts: 87
|
helo,
i want to create a new queue called "reply.nathan.queue" and i want it's attributes to resemble the attributes of another queue "reply.indbs.queue" already defined in the system on unix.
how can look up the attributes once of the existing queue once i have gotten past the runmqsc queue manager name pls? thanks in advance. Nathan. _________________ Newbiedude |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 25, 2005 1:29 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Script(MQSC) Command Reference wrote: |
DEFINE QLOCAL
Use DEFINE QLOCAL to define a new local queue, and set its parameters.
Synonym: DEF QL
Syntax diagram format: Railroad diagram Dotted decimal BNF
DEFINE QLOCAL
.-CMDSCOPE(' ')------------. (5)
>>-DEFINE QLOCAL(q-name)--+--------------------------+---------->
| (6) |
+-CMDSCOPE(qmgr-name)------+
| (6) |
'-CMDSCOPE(*)--------------'
.-QSGDISP(QMGR)--------. (5)
>--+----------------------+-------+------------------+---------->
| (6) | '-| define attrs |-'
+-QSGDISP(COPY)--------+
| (6) |
+-QSGDISP(GROUP)-------+
| (6) |
'-QSGDISP(SHARED)------'
>--+--------------------+--+-------------------+---------------><
'-| common q attrs |-' '-| local q attrs |-'
Define attrs
.-NOREPLACE-.
|--+-------------------+--+-----------+-------------------------|
'-LIKE(qlocal-name)-' '-REPLACE---'
Common q attrs
(1) (1)
.-DEFPRTY(0)-------. .-DEFPSIST(NO)------.
|--+------------------+--+-------------------+------------------>
'-DEFPRTY(integer)-' '-DEFPSIST(YES)-----'
(1) (1)
.-DESCR(' ')------. .-PUT(ENABLED)------.
>--+-----------------+--+-------------------+-------------------|
'-DESCR(string)---' '-PUT(DISABLED)-----'
Local q attrs
(1) (1)
.-BOQNAME(' ')------. .-BOTHRESH(0)-------.
|--+-------------------+--+-------------------+----------------->
'-BOQNAME(string)---' '-BOTHRESH(integer)-'
.-CFSTRUCT(' ')------------. (5)
>--+--------------------------+--------------------------------->
'-CFSTRUCT(structure-name)-'
(1) (1)
.-CLUSNL(' ')------. (2) .-CLUSTER(' ')---------. (2)
>--+------------------+-------+----------------------+---------->
'-CLUSNL(nlname)---' '-CLUSTER(clustername)-'
(1) (7)
.-DEFBIND(OPEN)------. (2) .-DEFSOPT(SHARED)------.
>--+--------------------+-------+----------------------+-------->
'-DEFBIND(NOTFIXED)--' '-DEFSOPT(EXCL)--------'
(1) (1)
.-DISTL(NO)------. ( .-GET(ENABLED)------.
>--+----------------+-------+-------------------+--------------->
'-DISTL(YES)-----' '-GET(DISABLED)-----'
(1) (1)
.-NOHARDENBO------. .-INDXTYPE(NONE)-----------. (5)
>--+-----------------+--+--------------------------+------------>
'-HARDENBO--------' '-INDXTYPE(-+-MSGID----+-)-'
+-CORRELID-+
+-GROUPID--+
'-MSGTOKEN-'
(1) (9)
.-INITQ(' ')------. .-MAXDEPTH(5000)------.
>--+-----------------+--+---------------------+----------------->
'-INITQ(string)---' '-MAXDEPTH(integer)---'
(1) (1)
.-MAXMSGL(4 194 304)------. .-MSGDLVSQ(PRIORITY)------.
>--+-------------------------+--+-------------------------+----->
'-MAXMSGL(integer)--------' '-MSGDLVSQ(FIFO)----------'
(1) (1)
.-PROCESS(' ')------. .-QDEPTHHI(80)------.
>--+-------------------+--+-------------------+----------------->
'-PROCESS(string)---' '-QDEPTHHI(integer)-'
(1) (1)
.-QDEPTHLO(40)------. .-QDPHIEV(DISABLED)------.
>--+-------------------+--+------------------------+------------>
'-QDEPTHLO(integer)-' '-QDPHIEV(ENABLED)-------'
(1) (1)
.-QDPLOEV(DISABLED)------. .-QDPMAXEV(ENABLED)------.
>--+------------------------+--+------------------------+------->
'-QDPLOEV(ENABLED)-------' '-QDPMAXEV(DISABLED)-----'
(1) (1)
.-QSVCIEV(NONE)-------. .-QSVCINT(999 999 999)------.
>--+---------------------+--+---------------------------+------->
'-QSVCIEV(-+-HIGH-+-)-' '-QSVCINT(integer)----------'
'-OK---'
(1) (3) (1)
.-RETINTVL(999 999 999)------. .-SCOPE(QMGR)----------.
>--+----------------------------+--+----------------------+----->
'-RETINTVL(integer)----------' | (4) |
'-SCOPE(CELL)----------'
(10) (1)
.-SHARE-------. .-STGCLASS('DEFAULT')------. (5)
>--+-------------+--+--------------------------+---------------->
'-NOSHARE-----' '-STGCLASS(string)---------'
(1) (1)
.-TRIGDATA(' ')------. .-TRIGDPTH(1)-------.
>--+--------------------+--+-------------------+---------------->
'-TRIGDATA(string)---' '-TRIGDPTH(integer)-'
(1) (1)
.-NOTRIGGER------. .-TRIGMPRI(0)-------.
>--+----------------+--+-------------------+-------------------->
'-TRIGGER--------' '-TRIGMPRI(integer)-'
(1) (1)
.-TRIGTYPE(FIRST)-------. .-USAGE(NORMAL)------.
>--+-----------------------+--+--------------------+------------|
'-TRIGTYPE(-+-EVERY-+-)-' '-USAGE(XMITQ)-------'
+-DEPTH-+
'-NONE--'
Notes:
This is the default supplied with WebSphere MQ, but your installation might have changed it.
Valid only on AIX, Compaq OpenVMS, HP-UX, Linux, OS/2 Warp, OS/400, Solaris, Windows, and z/OS.
Valid only on Compaq OpenVMS, OS/2 Warp, OS/400, UNIX systems, and Windows.
Valid only on Compaq OpenVMS, OS/2 Warp, UNIX systems, and Windows.
Used only on z/OS.
Valid only on full function WebSphere MQ for z/OS when the queue manager is a member of a queue-sharing group.
This is the default supplied with WebSphere MQ (except on z/OS, where it is EXCL), but your installation might have changed it.
Valid only on AIX, Compaq OpenVMS, HP-UX, Linux, OS/2 Warp, OS/400, Solaris, and Windows.
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.
This is the default supplied with WebSphere MQ (except on z/OS, where it is NOSHARE), but your installation might have changed it.
|
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Tue Jan 25, 2005 2:56 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
To expand on the information Jeff provided:
Quote: |
Copying a local queue definition
You can copy a queue definition using the LIKE attribute on the DEFINE command. For example:
DEFINE QLOCAL (MAGENTA.QUEUE) +
LIKE (ORANGE.LOCAL.QUEUE)
This command creates a queue with the same attributes as our original queue ORANGE.LOCAL.QUEUE, rather than those of the system default local queue. Enter the name of the queue to be copied exactly as it was entered when you created the queue. If the name contains lower case characters, enclose the name in single quotation marks.
You can also use this form of the DEFINE command to copy a queue definition, but substitute one or more changes to the attributes of the original. For example:
DEFINE QLOCAL (THIRD.QUEUE) +
LIKE (ORANGE.LOCAL.QUEUE) +
MAXMSGL(1024);
This command copies the attributes of the queue ORANGE.LOCAL.QUEUE to the queue THIRD.QUEUE, but specifies that the maximum message length on the new queue is to be 1024 bytes, rather than 2000.
Notes:
1. When you use the LIKE attribute on a DEFINE command, you are copying the queue attributes only. You are not copying the messages on the queue.
2. If you a define a local queue, without specifying LIKE, it is the same as DEFINE LIKE(SYSTEM.DEFAULT.LOCAL.QUEUE). |
|
|
Back to top |
|
 |
newbiedude |
Posted: Wed Jan 26, 2005 10:26 am Post subject: |
|
|
Voyager
Joined: 22 Dec 2002 Posts: 87
|
thanks jeff and JT. _________________ Newbiedude |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|