Running MQSC commands interactively
You can use MQSC commands interactively by using a command window or shell.
Before you begin
You can set the prompt that is displayed when you run the runmqsc command. See Setting the MQSC command prompt.
When you run MQSC commands interactively on UNIX and Linux® platforms, the runmqsc command line supports command recall, command completion, and Emacs command keys. See The runmqsc command on UNIX and Linux.
About this task
Procedure
Results
When you issue MQSC commands, the queue manager returns operator messages that confirm your
actions or tell you about the errors you have made. For example, the following message confirms a
queue is created:
AMQ8006: IBM MQ queue created.
The following message indicates that you have made a syntax error:
AMQ8405: Syntax error detected at or near end of command segment below:-
AMQ8426: Valid MQSC commands are:
ALTER
CLEAR
DEFINE
DELETE
DISPLAY
END
PING
REFRESH
RESET
RESOLVE
RESUME
START
STOP
SUSPEND
4 : end
These messages are sent to the standard output device. If you have not entered the command correctly, refer to the reference information for the command to find the correct syntax. See, MQSC commands.