100% found this document useful (1 vote)
199 views3 pages

Queues - Daily Tasks: Local Queue

This document provides information on creating and managing different types of queues in IBM MQ - local queues, transmit queues, and remote queues. It describes the DEFINE commands used to create each type of queue and lists the properties that can be specified. It also provides instructions for altering queue properties, displaying queue properties and permissions, and setting permissions on queues.

Uploaded by

chirutha84
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
199 views3 pages

Queues - Daily Tasks: Local Queue

This document provides information on creating and managing different types of queues in IBM MQ - local queues, transmit queues, and remote queues. It describes the DEFINE commands used to create each type of queue and lists the properties that can be specified. It also provides instructions for altering queue properties, displaying queue properties and permissions, and setting permissions on queues.

Uploaded by

chirutha84
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Queues - daily tasks

Local Queue

New Local Queue


================
DEFINE QLOCAL(’LQ_NAME’) +
DESCR (’description’) +
DEFPSIST(NO) +
TRIGTYPE (FIRST) +
MAXDEPTH(200000) +
MSGDLVSQ(PRIORITY) +
USAGE(NORMAL) +
QDEPTHHI (80) +
QDEPTHLO (20) +
REPLACE

DEFPSIST(NO)         -> Persistant YES/NO


TRIGTYPE (FIRST)     -> Trigger type
MAXDEPTH(20000)      -> Max depth
MSGDLVSQ(PRIORITY)   -> Message delivery meth
USAGE(NORMAL)        -> Queue usage (NORMAL/XMITQ)
QDEPTHHI (80)        -> High Queue depth
QDEPTHLO (20)        -> Low queue depth
REPLACE                 -> Replace if existing

Change the Queue properties


============================
alter qlocal LQ_NAME [property]

Display Queue properties


========================
display qlocal LQ_NAME

Give permissions to Queue


==========================
setmqaut -m LQ_NAME -n QM_NAME -t queue -g group/user [+browse +get +dsp +put]

Display existing permissions


=============================
dspmqaut -m LQ_NAME -n QM_NAME -t queue -g group/user

Transmit Queue

New Transmit Queue


==================
DEFINE QLOCAL(’XQ_NAME’) +
DESCR (’Description’) +
DEFPSIST(NO) +
TRIGTYPE (FIRST) +
MAXDEPTH(200000) +
MSGDLVSQ(PRIORITY) +
USAGE(XMITQ) +
QDEPTHHI (80) +
QDEPTHLO (20) +
REPLACEDEFPSIST(NO)         -> Persistant YES/NO
TRIGTYPE (FIRST)     -> Trigger type (if present)
MAXDEPTH(20000)      -> Max depth
MSGDLVSQ(PRIORITY)   -> Message delivery meth
USAGE(XMITQ)        -> Queue usage (XMITQ)
QDEPTHHI (80)        -> High Queue depth
QDEPTHLO (20)        -> Low queue depth
REPLACE                 -> Replace if existing

Change the Queue properties


============================
alter qlocal XQ_NAME [property]

Display Queue properties


========================
display qlocal LQ_NAME

Give permissions to Queue


==========================
setmqaut -m XQ_NAME -n QM_NAME -t queue -g group/user [+browse +get +dsp +put]

Display existing permissions


=============================
dspmqaut -m LQ_NAME -n QM_NAME -t queue -g group/user

Remote Queue

New Remore Queue


=================
DEFINE QREMOTE (’RQ_NAME’) +
DESCR(’Description’) +
PUT(ENABLED) +
EFPSIST(NO) +
MAXDEPTH(200000) +
MSGDLVSQ(PRIORITY) +
XMITQ(’XQ_NAME’) +
TRIGTYPE (FIRST) +
RNAME(’RLQ_NAME’) +
RQMNAME(’RQM_NAME’) +
QDEPTHHI (80) +
QDEPTHLO (20) +
REPLACEDEFPSIST(NO)         -> Persistant YES/NO
TRIGTYPE (FIRST)     -> Trigger type (if present)
MAXDEPTH(20000)      -> Max depth
MSGDLVSQ(PRIORITY)   -> Message delivery meth
PUT                  -> Put (enable/disable)
XMITQ                -> Transmit Queue name
RNAME                -> Remore local queue name
RQNAME               -> Remote Queue Manager name
QDEPTHHI             -> High Queue depth
QDEPTHLO             -> Low Queue Depth
REPLACE                 -> Replace if existing

Change the Queue properties


============================
alter qremote RQ_NAME [property]

Display Queue properties


========================
display qremote RQ_NAME

Give permissions to Queue


==========================
setmqaut -m RQ_NAME -n QM_NAME -t queue -g group/user [+browse +get +dsp +put]

Display existing permissions


=============================
dspmqaut -m LQ_NAME -n QM_NAME -t queue -g group/user

You might also like