[z/OS]

Channel initiator example

An example of how user IDs are checked against RACF® profiles.

A user performs an MQPUT1 operation to a queue on queue manager QM01 that resolves to a queue called QB on queue manager QM02. The message is sent on a TCP/IP channel called QM01.TO.QM02. RESLEVEL is set to NONE, and the open is performed with alternate user ID and context checking. The receiver channel definition has PUTAUT(CTX) and the MCA user ID is set. Which user IDs are used on the receiving channel to put the message to queue QB?

Answer: Table 1 shows that two user IDs are checked because RESLEVEL is set to NONE.
Table 1 shows that, with PUTAUT set to CTX and 2 checks, the following user IDs are checked:
  • The channel initiator user ID and the MCAUSER user ID are checked against the hlq.ALTERNATE.USER.userid profile.
  • The channel initiator user ID and the MCAUSER user ID are checked against the hlq.CONTEXT.queuename profile.
  • The channel initiator user ID and the alternate user ID specified in the message descriptor (MQMD) are checked against the hlq.Q2 profile.