DEFINE QALIAS
Use DEFINE QALIAS to define a new alias queue, and set its parameters.
Note: An alias queue provides a level of indirection to another queue or a topic object. If the alias refers to a queue, it must be another local or remote queue, defined at this queue manager, or a clustered alias queue defined on another queue manager. It cannot be another alias queue on this queue manager. If the alias refers to a topic, it must be a topic object defined at this queue manager.
- Syntax diagram
- Usage notes for DEFINE queues
- Parameter descriptions for DEFINE QUEUE and ALTER QUEUE
Synonym: DEF QA
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 QALIAS
1 CMDSCOPE(*) 1 2 QSGDISP(QMGR) QSGDISP(COPY) 1 QSGDISP(GROUP) 1 2 define attrs common queue attrs alias queue attrs Define attrs NOREPLACE REPLACE Common queue attrs ) ) DEFPRTY(0) DEFPRTY ( integer ) DEFPRESP(SYNC) DEFPRESP(ASYNC) DEFPSIST(NO) DEFPSIST(YES) DESCR(' ') DESCR ( string ) PUT(ENABLED) PUT(DISABLED) Alias queue attrs CLUSTER(' ') CLUSTER ( clustername ) CLWLPRTY(0) CLWLPRTY ( integer ) CLWLRANK(0) CLWLRANK ( integer ) DEFBIND(OPEN) DEFBIND ( NOTFIXED GROUP ) DEFREADA(NO) DEFREADA ( YES DISABLED+ ) GET(ENABLED) GET(DISABLED) PROPCTL(COMPAT) PROPCTL ( ALL FORCE NONE V6COMPAT ) SCOPE(QMGR) SCOPE(CELL) 3 4 TARGET(' ') TARGET ( string ) 5 TARGTYPE(QUEUE) TARGTYPE(TOPIC) Notes:
- 1 Valid only on z/OS®.
- 2 Valid only on z/OS when the queue manager is a member of a queue sharing group.
- 3 Valid only on UNIX, Linux , and Windows.
- 4 Not valid on z/OS.
- 5 The TARGQ parameter is available for compatibility with previous releases. It is a synonym of TARGET; we cannot specify both parameters.