+

Search Tips | Advanced Search

Issuing queue manager commands on z/OS

We can issue IBM MQ control commands from a z/OSĀ® console or with the utility program CSQUTIL. Commands can use command prefix string (CPF) to indicate which IBM MQ subsystem processes the command.

We can control most of the operational environment of IBM MQ using the IBM MQ commands. IBM MQ for z/OS supports both the MQSC and PCF types of these commands. This topic describes how to specify attributes using MQSC commands, and so it refers to those commands and attributes using their MQSC command names, rather than their PCF names. For details of the syntax of the MQSC commands, see The MQSC commands. For details of the syntax of the PCF commands, see Use IBM MQ Programmable Command Formats. If you are a suitably authorized user, we can issue IBM MQ commands from:

Much of the functionality of these commands is provided in a convenient way by the operations and control panels, accessible from TSO and ISPF, and described in Operations and control panels for IBM MQ for z/OS.

For further information, see


Issuing commands from a z/OS console or its equivalent

We can issue all IBM MQ commands from a z/OS console or its equivalent. We can also issue IBM MQ commands from anywhere where we can issue z/OS commands, such as SDSF or by a program using the MGCRE macro.

The maximum amount of data that can be displayed as a result of a command typed in at the console is 32 KB. Note:
  1. We cannot issue IBM MQ commands using the IMS/SSR command format from an IMS terminal. This function is not supported by the IMS adapter.
  2. The input field provided by SDSF might not be long enough for some commands, particularly those commands for channels.


Issuing commands from the utility program CSQUTIL

We can issue commands from a sequential data set using the COMMAND function of the utility program CSQUTIL. This utility transfers the commands, as messages, to the system-command input queue and waits for the response, which is printed together with the original commands in SYSPRINT. For details of this, see IBM MQ utility program.