Skip to main content

IBM MQ Management CLI Tool

Project description

IBM MQ CLI

IBM MQ CLI is a command-line interface (CLI) tool for managing IBM MQ. It provides functionalities to list queue managers, create queue managers, create queues, and configure queues.

Features

  • List all queue managers
  • Create new queue managers
  • Create queues in a specified queue manager
  • Configure existing queues in a specified queue manager

Requirements

  • IBM MQ must be installed and configured on your system.
  • Python 3.x must be installed.
  • Necessary permissions to execute IBM MQ commands.

Installation

From PyPI

To install from PyPI, run the following command:

pip install ibm-mq-cli

From Source

Clone this repository or download the package from PyPI. Navigate to the project directory. From Source To install from the source, run the following commands:

git clone https://github.com/yourusername/ibm_mq_cli.git
cd ibm_mq_cli
pip install .

Usage

The CLI tool provides the following subcommands:

list_qm: List all queue managers.
create_qm: Create a new queue manager.
create_queue: Create a queue in a specified queue manager.
configure_queue: Configure an existing queue in a specified queue manager.

List All Queue Managers

To list all queue managers, use the following command:

ibm-mq-cli list_qm

Create a New Queue Manager

To create a new queue manager, use the following command:

ibm-mq-cli create_qm <queue_manager_name>
Example:
ibm-mq-cli create_qm QM1

Create a Queue

To create a queue in a specified queue manager, use the following command:

ibm-mq-cli create_queue <queue_manager_name> <queue_name>
Example:
ibm-mq-cli create_queue QM1 DEV.QUEUE.1
ibm-mq-cli create_queue MyQueueManager MyQueue

Configure a Queue

To configure an existing queue in a specified queue manager, use the following command:

ibm-mq-cli configure_queue <queue_manager_name> <queue_name> <configuration>
Example:
ibm-mq-cli configure_queue QM1 DEV.QUEUE.1 "MAXDEPTH(5000)"
ibm-mq-cli configure_queue MyQueueManager MyQueue "MAXMSGL(104857600)"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibm_mq_cli-0.1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

ibm_mq_cli-0.1.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page