Passing commands using MGCRE

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

If we have the correct authorization, we 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 we use MGCRE, we can use a Command and Response Token (CART) to get the direct responses to the command.

Parent topic: Writing programs to administer IBM MQ for z/OS