[z/OS]

Writing programs to administer IBM MQ for z/OS

You can write your own application programs to administer a queue manager. Use this topic to understand the requirements for writing your own administration programs.

Start of General-use programming interface information

This set of topics contains hints and guidance to enable you to issue IBM MQ commands from an IBM MQ application program.

Note: In this topic, the MQI calls are described using C-language notation. For typical invocations of the calls in the COBOL, PL/I, and assembler languages, see Function calls manual.
Understanding how it all works
In outline, the procedure for issuing commands from an application program is as follows:
  1. Build an IBM MQ command into a type of IBM MQ message called a request message. The command can be in MQSC or PCF format.
  2. Send (use MQPUT ) this message to a special queue called the system-command input queue. The IBM MQ command processor runs the command.
  3. Retrieve (use MQGET ) the results of the command as reply messages on the reply-to queue. These messages contain the user messages that you need to determine whether your command was successful and, if it was, what the results were.
Then it is up to your application program to process the results.

This set of topics contains: