Home
DEFINE QMODEL
Use DEFINE QMODEL to define a new model queue, and set its parameters.
A model queue is not a real queue, but a collection of attributes that we can use when creating dynamic queues with the MQOPEN API call.
When it has been defined, a model queue (like any other queue) has a complete set of applicable attributes, even if some of these are defaults.
Synonym: DEF QM
DEFINE QMODEL >>-DEFINE QMODEL--(--q-name--)----------------------------------> .-CMDSCOPE(' ')-----------------. (2) >--+-------------------------------+----------------------------> | (1) | +-CMDSCOPE--(--qmgr-name--)-----+ | (1) | '-CMDSCOPE(*)-------------------' .-QSGDISP(QMGR)------. (2) >--+--------------------+------+------------------+-------------> | (1) | '-| define attrs |-' +-QSGDISP(COPY)------+ | (1) | '-QSGDISP(GROUP)-----' >--+--------------------+--+-------------------+----------------> '-| common q attrs |-' '-| local q attrs |-' >--+------------------+---------------------------------------->< '-| model q attr |-' Define attrs .-NOREPLACE-. |--+-------------------------+--+-----------+-------------------| '-LIKE--(--qmodel-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)-------------. >--+-------------------------+----------------------------------> '-BOTHRESH--(--integer--)-' (2) .-CFSTRUCT(' ')----------------------. >--+------------------------------------+-----------------------> | (2) | '-CFSTRUCT--(--structure-name--)-----' (3) (3) .-DEFSOPT(EXCL)-----. .-DISTL(NO)-----. (4) >--+-------------------+--+---------------+---------------------> '-DEFSOPT(SHARED)---' '-DISTL(YES)----' (3) (3) .-GET(ENABLED)-----. .-NOHARDENBO-----. >--+------------------+--+----------------+---------------------> '-GET(DISABLED)----' '-HARDENBO-------' (3) .-INDXTYPE(NONE)---------------. (2) >--+------------------------------+-----------------------------> '-INDXTYPE--(--+-MSGID----+--)-' +-CORRELID-+ +-GROUPID--+ '-MSGTOKEN-' (3) (5) .-INITQ(' ')----------. .-MAXDEPTH(5000)----------. >--+---------------------+--+-------------------------+---------> '-INITQ--(--string--)-' '-MAXDEPTH--(--integer--)-' (3) (3) .-MAXMSGL(4 194 304)-----. .-MONQ(QMGR)-------------. >--+------------------------+--+------------------------+-------> '-MAXMSGL--(--integer--)-' '-MONQ--(--+-OFF----+--)-' +-LOW----+ +-MEDIUM-+ '-HIGH---' (3) (3) .-MSGDLVSQ(PRIORITY)-----. .-NPMCLASS(NORMAL)-----. (6) >--+------------------------+--+----------------------+---------> '-MSGDLVSQ(FIFO)---------' '-NPMCLASS(HIGH)-------' (3) (3) .-PROCESS(' ')----------. .-QDEPTHHI(80)------------. >--+-----------------------+--+-------------------------+-------> '-PROCESS--(--string--)-' '-QDEPTHHI--(--integer--)-' (7) (3) .-QDEPTHLO(40)------------. .-QDPHIEV(DISABLED)-----. >--+-------------------------+--+-----------------------+-------> '-QDEPTHLO--(--integer--)-' '-QDPHIEV(ENABLED)------' (3) (3) .-QDPLOEV(DISABLED)-----. .-QDPMAXEV(ENABLED)-----. >--+-----------------------+--+-----------------------+---------> '-QDPLOEV(ENABLED)------' '-QDPMAXEV(DISABLED)----' (3) (3) .-QSVCIEV(NONE)-----------. .-QSVCINT(999 999 999)-----. >--+-------------------------+--+--------------------------+----> '-QSVCIEV--(--+-HIGH-+--)-' '-QSVCINT--(--integer--)---' '-OK---' (3) (3) .-RETINTVL(999 999 999)-----. .-NOSHARE-----. >--+---------------------------+--+-------------+---------------> '-RETINTVL--(--integer--)---' '-SHARE-------' (3) .-STATQ(QMGR)----------. (8) >--+----------------------+-------------------------------------> '-STATQ--(--+-OFF-+--)-' '-ON--' (3) .-STGCLASS('DEFAULT')-----. (2) >--+-------------------------+----------------------------------> '-STGCLASS--(--string--)--' (3) (3) .-TRIGDATA(' ')----------. .-TRIGDPTH(1)-------------. >--+------------------------+--+-------------------------+------> '-TRIGDATA--(--string--)-' '-TRIGDPTH--(--integer--)-' (3) (3) .-NOTRIGGER-----. .-TRIGMPRI(0)-------------. >--+---------------+--+-------------------------+---------------> '-TRIGGER-------' '-TRIGMPRI--(--integer--)-' (3) (3) .-TRIGTYPE(FIRST)-----------. .-USAGE(NORMAL)-----. >--+---------------------------+--+-------------------+---------| '-TRIGTYPE--(--+-EVERY-+--)-' '-USAGE(XMITQ)------' +-DEPTH-+ '-NONE--' Model q attr (3) .-DEFTYPE(TEMPDYN)------. |--+-----------------------+------------------------------------| +-DEFTYPE(PERMDYN)------+ | (2) | '-DEFTYPE(SHAREDYN)-----'
Notes:
- Valid only on z/OS when the queue manager is a member of a queue-sharing group.
- Used only on z/OS.
- This is the default supplied with WebSphere MQ, but your installation might have changed it.
- Valid only on AIX, HP OpenVMS, HP-UX, Linux, i5/OS, 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.
- Not valid on z/OS.
- 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.
- Valid only on i5/OS, UNIX systems, and Windows.
Parent topic:
DEFINE queues
sc11220_
Home