Usage notes

  1. The rules for specifying commands in the input data set are the same as for the initialization data sets:

    With the additional rule:

    See the WebSphere MQ Script (MQSC) Command Reference manual for more information about the rules for building WebSphere MQ commands.
  2. If you specify the MAKEDEF keyword:
  3. If you specify the MAKEREP, MAKEALT, or MAKEDEL keywords:
  4. If you specify the MAKEDEF, MAKEREP, MAKEALT, or MAKEDEL keywords, commands are generated only for objects reported by the target queue manager (as specified by the TGTQMGR keyword or defaulted), even if CMDSCOPE is used in the DISPLAY commands. To generate commands for several queue managers in a queue-sharing group, use a separate COMMAND function for each.

    In a queue-sharing group, queues, processes, channels, storage classes and authentication information objects should each have two DISPLAY commands, one with QSGDISP(QMGR) and one with QSGDISP(GROUP). Queues should have a third with QSGDISP(SHARED). It is not necessary to specify QSGDISP(COPY) because the required commands will be generated automatically when the commands for objects with QSGDISP(GROUP) are issued.

  5. Do not specify the same MAKEDEF, MAKEREP, MAKEALT, or MAKEDEL data set for more than one COMMAND function, unless its DD statement specifies a sequential data set with DISP=MOD.
  6. If you specify the MAKECLNT keyword:
  7. The results of DISPLAY commands used in conjunction with MAKEDEF, MAKEREP, MAKEALT, MAKEDEL or MAKECLNT are also sent to SYSPRINT.
  8. If you specify the FAILURE keyword, a command is determined to be a success or failure according to the codes returned in message CSQN205I. If the return code is 00000000 and the reason code is 00000000 or 00000004, it is a success; for all other values it is a failure.
  9. The COMMAND function is determined to be a success only if both: If COMMAND fails, no further CSQUTIL functions are attempted.
  10. You need the necessary authority to use command server queues (SYSTEM.COMMAND.INPUT, SYSTEM.COMMAND.REPLY.MODEL, and SYSTEM.CSQUTIL.*) and to use the WebSphere MQ commands that you want to issue.