Displaying and altering queue manager attributes
Use the DISPLAY QMGR MQSC command to display the queue manager parameters for a queue manager. Use the ALTER QMGR MQSC command to alter the queue manager parameters for a local queue manager.
Before you begin
Note: The steps in this task require you to run MQSC commands. How you do this varies by platform. See Administering IBM® MQ using MQSC commands.
Procedure
-
To display the attributes of the queue manager specified on the runmqsc
command, use the DISPLAY QMGR MQSC command:
DISPLAY QMGRThe following example shows typical output from this command:DISPLAY QMGR 1 : DISPLAY QMGR AMQ8408I: Display Queue Manager details. QMNAME(QM1) ACCTCONO(DISABLED) ACCTINT(1800) ACCTMQI(OFF) ACCTQ(OFF) ACTIVREC(MSG) ACTVCONO(DISABLED) ACTVTRC(OFF) ADVCAP(DISABLED) ALTDATE(2022-05-05) ALTTIME(14.24.34) AMQPCAP(NO) AUTHOREV(DISABLED) CCSID(437) CERTLABL(ibmwebspheremqqm1) CERTVPOL(ANY) CHAD(DISABLED) CHADEV(DISABLED) CHADEXIT( ) CHLEV(DISABLED) CHLAUTH(ENABLED) CLWLDATA( ) CLWLEXIT( ) CLWLLEN(100) CLWLMRUC(999999999) CLWLUSEQ(LOCAL) CMDEV(DISABLED) CMDLEVEL(930) COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE) CONFIGEV(DISABLED) CONNAUTH(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) CRDATE(2020-12-22) CRTIME(15.42.49) CUSTOM( ) DEADQ( ) DEFCLXQ(SCTQ) DEFXMITQ( ) DESCR( ) DISTL(YES) IMGINTVL(60) IMGLOGLN(OFF) IMGRCOVO(YES) IMGRCOVQ(YES) IMGSCHED(MANUAL) INHIBTEV(DISABLED) INITKEY( ) IPADDRV(IPV4) LOCALEV(DISABLED) LOGGEREV(DISABLED) MARKINT(5000) MAXHANDS(256) MAXMSGL(4194304) MAXPROPL(NOLIMIT) MAXPRTY(9) MAXUMSGS(10000) MONACLS(QMGR) MONCHL(OFF) MONQ(OFF) PARENT( ) PERFMEV(DISABLED) PLATFORM(WINDOWS10) PSMODE(ENABLED) PSCLUS(ENABLED) PSNPMSG(DISCARD) PSNPRES(NORMAL) PSRTYCNT(5) PSSYNCPT(IFPER) QMID(QM1_2020-12-22_15.42.49) REMOTEEV(DISABLED) REPOS( ) REPOSNL( ) REVDNS(ENABLED) ROUTEREC(MSG) SCHINIT(QMGR) SCMDSERV(QMGR) SPLCAP(DISABLED) SSLCRLNL( ) SSLCRYP( ) SSLEV(DISABLED) SSLFIPS(NO) KEYRPWD( ) SSLKEYR(C:\ProgramData\IBM\MQ\qmgrs\QM1\ssl\key) SSLRKEYC(32767) STATACLS(QMGR) STATCHL(OFF) STATINT(1800) STATMQI(OFF) STATQ(OFF) STRSTPEV(ENABLED) SUITEB(NONE) SYNCPT TREELIFE(1800) TRIGINT(999999999) VERSION(09030000) XRCAP(NO)Note: SYNCPT is a read only queue manager attribute.The ALL parameter is the default on the DISPLAY QMGR command. It displays all the queue manager attributes. In particular, the output tells you the default queue manager name, the dead-letter queue name, and the command queue name.
You can confirm that these queues exist by entering the command:DISPLAY QUEUE (SYSTEM.*)This displays a list of queues that match the stem
SYSTEM.*. The parentheses are required. - To alter the attributes of the queue manager specified on the runmqsc
command, use the MQSC command ALTER QMGR, specifying the attributes and values
that you want to change. For example, use the following commands to alter the attributes of
jupiter.queue.manager:
The ALTER QMGR command changes the dead-letter queue used, and enables inhibit events.runmqsc jupiter.queue.manager ALTER QMGR DEADQ (ANOTHERDLQ) INHIBTEV (ENABLED)Parameters not specified in the ALTER QMGR command result in the existing values for those parameters being left unchanged.