[z/OS]

Using the CSQUTIL utility for IBM MQ for z/OS

The CSQUTIL utility program is provided with IBM® MQ for z/OS® to help you perform backup, restoration, and reorganization tasks, and to issue commands and process object definitions.

About this task

Use this utility program to invoke the following functions. For example, you can issue commands from a sequential data set using the COMMAND function of the CSQUTIL utility. This function transfers the commands, as messages, to the system-command input queue and waits for the response, which is printed together with the original commands in SYSPRINT.

For more information about the CSQUTIL utility program, see IBM MQ utility program (CSQUTIL).

Procedure

  • COMMAND

    Use this function to issue MQSC commands, to record object definitions, and to make client-channel definition files.

  • COPY

    Use this function to read the contents of a named IBM MQ for z/OS message queue or the contents of all the queues of a named page set, and put them into a sequential file and retain the original queue.

  • COPYPAGE

    Use this function to copy whole page sets to larger page sets.

  • EMPTY

    Use this function to delete the contents of a named IBM MQ for z/OS message queue or the contents of all the queues of a named page set, retaining the definitions of the queues.

  • FORMAT

    Use this function to format IBM MQ for z/OS page sets.

  • Restoring messages from a data set to a queue (LOAD) on z/OS

    Use this function to restore the contents of a named IBM MQ for z/OS message queue or the contents of all the queues of a named page set from a sequential file created by the COPY function.

  • PAGEINFO

    Use this function to extract page set information from one or more page sets.

  • RESETPAGE

    Use this function to copy whole page sets to other page set data sets and reset the log information in the copy.

  • SCOPY

    Use this function to copy the contents of a queue to a data set while the queue manager is offline.

  • SDEFS

    Use this function to produce a set of define commands for objects while the queue manager is offline.

  • SLOAD

    Use this function to restore messages from the destination data set of an earlier COPY or SCOPY operation. SLOAD processes a single queue.

  • SWITCH

    Use this function to switch or query the transmission queue associated with cluster-sender channels.