Administration from the command line

WebSphere MQ Everyplace includes some tools that enable the administration of WebSphere MQ Everyplace objects from the command line, using simple scripts. The following tools are provided:

QueueManagerUpdater
Creates a device queue manager from an ini file, and sends an administration message to update the characteristics of a queue manager.

IniFileCreator
Creates an ini file with the necessary content for a client queue manager.

LocalQueueCreator
Opens a client queue manager, adds a local queue definition to it, and closes the queue manager.

HomeServerCreator
Open a server queue manager, adds a home-server queue, and closes the queue manager.

ConnectionCreator
Allow a connection to be added to an WebSphere MQ Everyplace queue manager without programming anything in Java.

RemoteQueueCreator
Opens a device queue manager for use, sends it an administration message to cause a remote queue definition to be created, then closes the queue manager.

MQBridgeCreator
Creates an WebSphere MQ bridge on an WebSphere MQ Everyplace queue manager.

MQQMgrProxyCreator
Creates a WebSphere MQ queue manager proxy for a bridge.

MQConnectionCreator
Creates a connection definition for a WebSphere MQ system on a proxy object.

MQListenerCreator
Creates a WebSphere MQ transmit queue listener to pull messages from WebSphere MQ.

MQBridgeQueueCreator
Creates an WebSphere MQ Everyplace queue that can reference messages on a WebSphere MQ queue.

StoreAndForwardQueueCreator
Creates a store-and-forward queue.

StoreAndForwardQueueQMgrAdder
Adds a queue manager name to the list of queue managers for which the store-and-forward queue accepts messages.

The following files are also provided:

Example script files
Two example .bat files, and a runmqsc script to demonstrate setting up a fictitious network configuration, involving a branch, a gateway, and a WebSphere MQ system.

Rolled-up Java example
An example of how a batch file can be rolled-up into a Java file for batch-language independence.


© IBM Corporation 2002, 2003. All Rights Reserved