[z/OS]

Passing commands using MGCRE

With appropriate authorization, an application program can make requests to multiple queue managers using a z/OS® service routine.

If you have the correct authorization, you can pass IBM® MQ commands from your program to multiple queue managers by the MGCRE (SVC 34) z/OS service. The value of the CPF identifies the particular queue manager to which the command is directed. For information about CPFs, see User IDs for command security and command resource security and Issuing queue manager commands on z/OS.

If you use MGCRE, you can use a Command and Response Token (CART) to get the direct responses to the command.