Profiles for namelists
If namelist security is active, you define profiles in the appropriate classes and give the necessary groups or user IDs access to these profiles.
- Define profiles in the MQNLIST or GMQNLIST classes if using uppercase profiles.
- Define profiles in the MXNLIST or GMXNLIST classes if using mixed case profiles.
- Permit the necessary groups or user IDs access to these profiles.
hlq.namelistname
where hlq can be either qmgr-name (queue manager name) or
qsg-name (queue sharing group name), and namelistname is the name
of the namelist being opened.
A profile prefixed by the queue manager name controls access to a single namelist on that queue manager. A profile prefixed by the queue sharing group name controls access to access to one or more namelists with that name on all queue managers within the queue sharing group. This access can be overridden on an individual queue manager by defining a queue manager level profile for that namelist on that queue manager.
If your queue manager is a member of a queue sharing group and you are using both queue manager and queue sharing group level security, IBM® MQ checks for a profile prefixed by the queue manager name first. If it does not find one, it looks for a profile prefixed by the queue sharing group name.
The following table shows the access required for opening a namelist.
| MQOPEN option | RACF® access level required to hlq.namelistname |
|---|---|
| MQOO_INQUIRE | READ |
- All namelists starting with
DEPT571
. - PRINTER/DESTINATIONS/DEPT571
- AGENCY/REQUEST/QUEUES
- WAREHOUSE.BROADCAST
RDEFINE MQNLIST PQM3.DEPT571.** UACC(NONE)
PERMIT PQM3.DEPT571.** CLASS(MQNLIST) ID(DEPT571) ACCESS(READ)
RDEFINE GMQNLIST NLISTS.FOR.DEPT571 UACC(NONE)
ADDMEM(PQM3.PRINTER/DESTINATIONS/DEPT571,
PQM3.AGENCY/REQUEST/QUEUES,
PQM3.WAREHOUSE.BROADCAST)
PERMIT NLISTS.FOR.DEPT571 CLASS(GMQNLIST) ID(DEPT571) ACCESS(READ)
Alternate user security might be active, depending on the options specified when a namelist object is opened.
System namelist security
- The CSQUTIL utility
- The operations and control panels
- The channel initiator address space (including the Queued Publish/Subscribe Daemon)
The user IDs under which these run must be given RACF access to these namelists, as shown in Table 2.
| SYSTEM namelist | CSQUTIL | Operations and control panels | Channel initiator for distributed queuing |
|---|---|---|---|
| SYSTEM.QPUBSUB.QUEUE.NAMELIST | - | - | READ |
| SYSTEM.QPUBSUB.SUBPOINT.NAMELIST | - | - | READ |