Performing administration tasks using commands
Control commands
Control commands allow you to perform administrative tasks on queue managers themselves.
WebSphere MQ Script (MQSC) commands
Use MQSC commands to manage queue manager objects, including the queue manager itself, channels, queues, and process definitions.
You issue MQSC commands to a queue manager using the runmqsc command. You can do this interactively, issuing commands from a keyboard, or you can redirect the standard input device (stdin) to run a sequence of commands from an ASCII text file. In both cases, the format of the commands is the same.
You can run the runmqsc command in three modes, depending on the flags set on the command:
- Verification mode, where the MQSC commands are verified on a local queue manager, but are not actually run
- Direct mode, where the MQSC commands are run on a local queue manager
- Indirect mode, where the MQSC commands are run on a remote queue manager
Object attributes specified in MQSC commands are not case sensitive. MQSC command attribute names are limited to eight characters.
PCF commands
WebSphere MQ programmable command format (PCF) commands allow administration tasks to be programmed into an administration program. In this way you can create queues and process definitions, and change queue managers, from a program.
PCF commands cover the same range of functions provided by the MQSC commands.
You can use the WebSphere MQ Administration Interface (MQAI) to obtain easier programming access to PCF messages.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.