Displaying and altering queue manager attributes

You can use MQSC commands to display or alter queue manager attributes.

About this task

You use the DISPLAY QMGR command to display the queue manager parameters for a queue manager and the ALTER QMGR command to alter the queue manager parameters for a local queue manager.

Procedure

  • To display the attributes of the queue manager specified on the runmqsc command, use the DISPLAY QMGR MQSC command:
    
    DISPLAY QMGR
    
    The following example shows typical output from this command:
    
    DISPLAY QMGR
         1 : DISPLAY QMGR
    AMQ8408: Display Queue Manager details.
       QMNAME(QM1)                             ACCTCONO(DISABLED)
       ACCTINT(1800)                           ACCTMQI(OFF)
       ACCTQ(OFF)                              ACTIVREC(MSG)
       ACTVCONO (DISABLED)                     ACTVTRC (OFF) 
       ALTDATE(2012-05-27)                     ALTTIME(16.14.01)
       AUTHOREV(DISABLED)                      CCSID(850)
       CHAD(DISABLED)                          CHADEV(DISABLED)
       CHADEXIT( )                             CHLEV(DISABLED)
       CLWLDATA( )                             CLWLEXIT( )
       CLWLLEN(100)                            CLWLMRUC(999999999)
       CLWLUSEQ(LOCAL)                         CMDEV(DISABLED)
       CMDLEVEL(800)                           COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE)
       CONFIGEV(DISABLED)                      CRDATE(2011-05-27)
       CRTIME(16.14.01)                        DEADQ()
       DEFXMITQ( )                             DESCR( )
       DISTL(YES)                              INHIBTEV(DISABLED)
       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(WINDOWSNT)	                    PSRTYCNT(5)
       PSNPMSG(DISCARD)                        PSNPRES(NORMAL)
       PSSYNCPT(IFPER)                         QMID(QM1_2011-05-27_16.14.01)
       PSMODE(ENABLED)                         REMOTEEV(DISABLED)
       REPOS( )                                REPOSNL( )
       ROUTEREC(MSG)                           SCHINIT(QMGR)
       SCMDSERV(QMGR)                          SSLCRLNL( )
       SSLCRYP( )                              SSLEV(DISABLED)
       SSLFIPS(NO)                             SSLKEYR(C:\Program Files\IBM\WebSphere
    MQ\Data\qmgrs\QM1\ssl\key)
       SSLRKEYC(0)                             STATACLS(QMGR)
       STATCHL(OFF)                            STATINT(1800)
       STATMQI(OFF)                            STATQ(OFF)
       STRSTPEV(ENABLED)                       SYNCPT
       TREELIFE(1800)                          TRIGINT(999999999)
     
    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:
    
    runmqsc jupiter.queue.manager
    ALTER QMGR DEADQ (ANOTHERDLQ) INHIBTEV (ENABLED)
    
    The ALTER QMGR command changes the dead-letter queue used, and enables inhibit events.

    Parameters not specified in the ALTER QMGR command result in the existing values for those parameters being left unchanged.