Using the WebSphere MQ Utilities

Using the WebSphere MQ utilities
WebSphere MQ utility program (CSQUTIL)
Invoking the WebSphere MQ utility program
PARM parameters
Which PARM parameters do you need?
Return codes
Monitoring the progress of the WebSphere MQ utility program
Formatting page sets (FORMAT)
Keywords and parameters
Example
Usage notes
Page set information (PAGEINFO)
Keywords and parameters
Example
Usage notes
Expanding a page set (COPYPAGE)
Keywords and parameters
Example
Usage notes
Copying a page set and resetting the log (RESETPAGE)
Using the RESETPAGE function
Keywords and parameters
Example
Usage notes
Issuing commands to WebSphere MQ (COMMAND)
Keywords and parameters
Examples
Issuing commands
Making a list of DEFINE commands
Making a list of ALTER commands
Making a client channel definition file
Usage notes
Producing a list of WebSphere MQ define commands (SDEFS)
Keywords and parameters
Examples
Usage notes
Copying queues into a data set while the queue manager is running (COPY)
Keywords and parameters
Example
Usage notes
Syncpoints
Copying queues into a data set while the queue manager is not running (SCOPY)
Keywords and parameters
Example
Usage notes
Emptying a queue of all messages (EMPTY)
Keywords and parameters
Example
Usage notes
Restoring messages from a data set to a queue (LOAD)
Keywords and parameters
Example
Usage notes
Migrating a channel initiator parameter module (XPARM)
Keywords and parameters
Example
The change log inventory utility (CSQJU003)
Invoking the CSQJU003 utility
Data definition (DD) statements
Multiple statement operation
Adding information about a data set to the BSDS (NEWLOG)
Keywords and parameters
Deleting information about a data set from the BSDS (DELETE)
Keywords and parameters
Supplying a password for archive log data sets (ARCHIVE)
Keywords and parameters
Controlling the next restart (CRESTART)
Keywords and parameters
Setting checkpoint records (CHECKPT)
Keywords and parameters
Updating the highest written log RBA (HIGHRBA)
Keywords and parameters
The print log map utility (CSQJU004)
Invoking the CSQJU004 utility
Data definition statements
The log print utility (CSQ1LOGP)
Invoking the CSQ1LOGP utility
Input control parameters
Usage notes
The EXTRACT function
Processing EXTRACT data
Example 1. Counting the number of bytes put to each queue
Output
Detail report
Record layouts for the output data sets
The queue-sharing group utility (CSQ5PQSG)
Invoking the queue-sharing group utility
Data definition statements
Keywords and parameters
Example
The active log preformat utility (CSQJUFMT)
Invoking the CSQJUFMT utility
The dead-letter queue handler utility (CSQUDLQH)
Invoking the DLQ handler
Data definition statements
Sample JCL
The DLQ handler rules table
Control data
Rules (patterns and actions)
The pattern-matching keywords
The action keywords
Rules table conventions
Processing the rules table
Ensuring that all DLQ messages are processed
An example DLQ handler rules table