Home
WebSphere MQ Script (MQSC) commands
Use MQSC commands to manage queue manager objects, including the queue manager itself, queues, process definitions, namelists, channels, client connection channels, listeners, services, and authentication information objects.
You issue MQSC commands to a queue manager using the runmqsc command. We can do this interactively, issuing commands from a keyboard, or we 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.
We 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 shown in this book in uppercase (for example, RQMNAME), although they are not case sensitive. MQSC command attribute names are limited to eight characters.
MQSC commands are available on other platforms, including i5/OS, and z/OS. MQSC commands are summarized in Comparing command sets.
The WebSphere MQ Script (MQSC) Command Reference contains a description of each MQSC command and its syntax.
See Performing local administration tasks using MQSC commands for more information about using MQSC commands in local administration.
Parent topic:
Performing administration tasks using commands
fa10700_
Home