Home
MQSC command reports
The runmqsc command returns a report, which is sent to stdout. The report contains:
- A header identifying MQSC commands as the source of the report:
Starting MQSC for queue manager jupiter.queue.manager.Where jupiter.queue.manager is the name of the queue manager.- An optional numbered listing of the MQSC commands issued. By default, the text of the input is echoed to the output. Within this output, each command is prefixed by a sequence number, as shown in Figure 1. However, we can use the -e flag on the runmqsc command to suppress the output.
- A syntax error message for any commands found to be in error.
- An operator message indicating the outcome of running each command. For example, the operator message for the successful completion of a DEFINE QLOCAL command is:
AMQ8006: WebSphere MQ queue created.- Other messages resulting from general errors when running the script file.
- A brief statistical summary of the report indicating the number of commands read, the number of commands with syntax errors, and the number of commands that could not be processed.
The queue manager attempts to process only those commands that have no syntax errors.
Figure 1. Extract from an MQSC command report fileStarting MQSC for queue manager jupiter.queue.manager. . . 12: DEFINE QLOCAL('ORANGE.LOCAL.QUEUE') REPLACE + : DESCR(' ') + : PUT(ENABLED) + : DEFPRTY(0) + : DEFPSIST(NO) + : GET(ENABLED) + : MAXDEPTH(5000) + : MAXMSGL(1024) + : DEFSOPT(SHARED) + : NOHARDENBO + : USAGE(NORMAL) + : NOTRIGGER; AMQ8006: WebSphere MQ queue created. : . .
Parent topic:
Running MQSC commands from text files
fa11140_
Home