DEFINE QLOCAL

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

Synonym: DEF QL

Values shown above the main line in the railroad diagram are the defaults supplied with IBM MQ, but your installation might have changed them. See Syntax diagrams.


DEFINE QLOCAL

DEFINE QLOCAL ( q-name ) CMDSCOPE(' ')CMDSCOPE(qmgr-name)1CMDSCOPE(*)12QSGDISP(QMGR)QSGDISP(COPY)1QSGDISP(GROUP)1QSGDISP(SHARED)12Define attributesCommon queue attributesLocal queue attributesDefine attributesLIKE(qlocal-name)NOREPLACEREPLACECommon queue attributesCUSTOM(' ')CUSTOM(stringCAPEXPRY(NOLIMITinteger))DEFPRTY(0)DEFPRTY(integer)DEFPRESP(SYNC)DEFPRESP(ASYNC)DEFPSIST(NO)DEFPSIST(YES)DESCR(' ')DESCR(string)PUT(ENABLED)PUT(DISABLED)Local queue attributesACCTQ(QMGR)ACCTQ(ONOFF)BOQNAME(' ')BOQNAME(string)BOTHRESH(0)BOTHRESH(integer)CFSTRUCT(' ')CFSTRUCT(structure-name)2CLCHNAME(' ')CLCHNAME(channel name)CLUSNL(' ')CLUSNL(nlname)CLUSTER(' ')CLUSTER(clustername)CLWLPRTY(0)CLWLPRTY(integer)CLWLRANK(0)CLWLRANK(integer)CLWLUSEQ(QMGR)CLWLUSEQ(ANYLOCAL)DEFBIND(OPEN)DEFBIND(NOTFIXEDGROUP)DEFREADA(NO)DEFREADA(YESDISABLED+)DEFSOPT(EXCL)3DEFSOPT(SHARED)4DEFSOPT(EXCLSHARED)DISTL(NO)DISTL(YES)5GET(ENABLED)GET(DISABLED)NOHARDENBOHARDENBOIMGRCOVQ ( QMGR )IMGRCOVQ(NOYES)5INDXTYPE(NONE)INDXTYPE(MSGIDCORRELIDGROUPIDMSGTOKEN)2INITQ(' ')INITQ(string)MAXDEPTH(999 999 999)3MAXDEPTH(5000)4MAXDEPTH(integer)MAXFSIZE(2 088 960)MAXFSIZE(integer)5MAXMSGL(4 194 304)MAXMSGL(integer)MONQ(QMGR)MONQ(OFFLOWMEDIUMHIGH)MSGDLVSQ(PRIORITY)MSGDLVSQ(FIFO)NPMCLASS(NORMAL)NPMCLASS(HIGH)5PROCESS(' ')PROCESS(string)PROPCTL(COMPAT)PROPCTL(ALLFORCENONEV6COMPAT)QDEPTHHI(80)QDEPTHHI(integer)QDEPTHLO(40)3QDEPTHLO(20)4QDEPTHLO(integer)QDPHIEV(DISABLED)QDPHIEV(ENABLED)QDPLOEV(DISABLED)QDPLOEV(ENABLED)QDPMAXEV(ENABLED)QDPMAXEV(DISABLED)QSVCIEV(NONE)QSVCIEV(HIGHOK)QSVCINT(999 999 999)QSVCINT(integer)RETINTVL(999 999 999)RETINTVL(integer)SCOPE(QMGR)5SCOPE(CELL)6NOSHARE3SHARE4NOSHARESHARESTATQ(QMGR)STATQ(OFFON)5STGCLASS('DEFAULT')STGCLASS(string)2TRIGDATA(' ')TRIGDATA(string)TRIGDPTH(1)TRIGDPTH(integer)NOTRIGGERTRIGGERTRIGMPRI(0)TRIGMPRI(integer)TRIGTYPE(FIRST)TRIGTYPE(EVERYDEPTHNONE)USAGE(NORMAL)USAGE(XMITQ)Notes:

  • 1 Valid only on z/OS and when the queue manager is a member of a queue sharing group.
  • 2 Valid only on z/OS.
  • 3 Default for z/OS.
  • 4 Default for Multiplatforms.
  • 5 Not valid on z/OS.
  • 6 Valid only on UNIX, Linux, and Windows.

Parent topic: DEFINE queues


Related information