WRKMQMAUT

This command allows you to work with the authority data held in the authority queue. Figure 7 shows the input panel for this command.

Note:
To run this command have

*connect and *admdsp authority to the queue manager. However, to create or delete a profile, we need QMQMADM authority.

If you output the information to the screen, a list of authority profile names, together with their types, is displayed. If you print the output, you receive a detailed list of all the authority data, the registered users, and their authorities.

Figure 7. Work with MQM Authority panel - input display
                       Work with MQ Authority (WRKMQMAUT)                       
                                                                                
 Type choices, press Enter.                                                     
                                                                                
 Object/Profile name  . . . . . .   *ALL                                        
                                                                                
 Object type  . . . . . . . . . .   *ALL          *Q, *PRC, *MQM, *NMLIST...    
 Output . . . . . . . . . . . . .   *             *, *PRINT                     
 Message Queue Manager name . . .   *DFT                                        
                                                                                


                                                                         Bottom
 

 ===> ________________________________________________________________________
 F3=Exit   F4=Prompt    F5=Refresh    F12=Cancel     F13= How to use this display
 F24=More keys

Entering an object or profile name on this panel, and pressing ENTER takes you to the results panel for WRKMQMAUT, shown in Figure 8.

Figure 8. Work with MQM Authority panel - results display
                                   Work with MQ Authority                       
                                                                                
 Queue Manager Name . . :   *DFT                                                
                                                                                
 Type options, press Enter.                                                     
   4=Delete   12=Work with profile                                              
                                                                                
 Opt     Authority Profile Name                               Type              
         SYSTEM.DEFAULT.NAMELIST                              *NMLIST           
         SYSTEM.DEFAULT.PROCESS                               *PRC              
         SYSTEM.DEFAULT.REMOTE.QUEUE                          *Q                
         SYSTEM.MQSC.REPLY.QUEUE                              *Q                
         SYSTEM.PENDING.DATA.QUEUE                            *Q                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                         Bottom 
 ===>                                                                           
 F3=Exit   F4=Prompt      F5=Refresh   F6=Create   F9=Retrieve   F12=Cancel     
 F16=Repeat position to   F17=Position to          F21=Print                     

If you select

4=Delete, you go to a new panel from which you can confirm that you want to delete all the user names registered to the generic authority profile name you specify. This option runs RVKMQMAUT with the option *REMOVE for all the users, and applies only to generic profile names.

If you select

12=Work with profile you go to the WRKMQMAUTD command results panel, as explained in WRKMQMAUTD.