WRKMQMAUTD
This command allows you to display all the users registered with a particular authority profile name and object type. To run this command have
*connect and *admdsp authority to the queue manager. However, to grant, run, create, or delete a profile we need QMQMADM authority.
Figure 9 shows the input panel of the WRKMQMAUTD command.
Figure 9. Work with MQM Authority Data input panelWork with MQ Authority Data (WRKMQMAUTD) Type choices, press Enter. Object/Profile name . . . . . . Object type . . . . . . . . . . *Q, *PRC, *MQM, *NMLIST... User name . . . . . . . . . . . Name, *PUBLIC, *ALL Message Queue Manager name . . . Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keysSelecting
F24=More keys from the initial input panel, followed by option
F9=All Parameters displays the Service Component Name as for GRTMQMAUT and RVKMQMAUT.
Figure 10 shows the results panel of the WRKMQMAUTD command.
Figure 10. Work with MQM Authority Data output panelWork with MQ Authority Data Queue Manager Name . . : *DFT Authority Profile Name : SYSTEM.DEFAULT.PROCESS Object Type . . . . . : *PRC Type options, press Enter. 2=Grant 3=Revoke 4=Delete 5=Display Opt UserName GET BROWSE PUT CONNECT INQ SET ALTUSR MQUSER X X X QMQMADM X X X X X X X Bottom ===> F3=Exit F4=Prompt F5=Refresh F6=Create F9=Retrieve F11=Display Object Authorizations F12=Cancel F24=More keysNote:TheF11=Display Object Authorizations key toggles between the following types of authorities:
- Object authorizations
- Context authorizations
- MQI authorizations
The options on the screen are:
- 2=Grant
- Takes you to the GRTMQMAUT panel to add to the current authorities.
- 3=Revoke
- Takes you to the RVKMQMAUT panel to remove some of the current definitions
- 4=Delete
- Takes you to a panel that allows you to delete the authority data for specified users. This runs RVKMQMAUT with the option *REMOVE.
- 5=Display
- Takes you to the existing DSPMQMAUT command
- F6=Create
- Takes you to the GRTMQMAUT panel that allows you to create a new profile authority record.