Modernization Hub

CQS - Common Queue Server

Enhanced Definition

CQS (Common Queue Server) is a z/OS component that provides high-performance, high-availability shared queue services for multiple client address spaces within an IBM z/OS sysplex. It is primarily used by IMS (Information Management System) to manage shared message queues, enabling workload balancing and continuous availability across multiple IMS subsystems.

Key Characteristics

    • Shared Queue Management: CQS manages queues that can be accessed and updated by multiple client address spaces (e.g., IMS control regions) concurrently, ensuring data integrity across the sharing group.
    • Coupling Facility (CF) Integration: It leverages z/OS Coupling Facility list structures to store queue data, providing fast access and robust data integrity across the sysplex.
    • High Availability and Recoverability: CQS supports multiple instances for redundancy (CQSplex) and uses the z/OS Logger for recovery, ensuring queue data integrity and recoverability even during failures.
    • Client/Server Architecture: CQS acts as a server, providing a well-defined API for clients (like IMS) to enqueue, dequeue, and query messages on shared queues.
    • Workload Balancing: By centralizing queue management, CQS allows multiple IMS regions to process messages from the same input queue, distributing the workload efficiently and improving throughput.
    • Part of IMS Shared Queues: It is a foundational component of the IMS Shared Queues feature, essential for modern, highly available, and scalable IMS environments.

Use Cases

    • IMS Shared Message Queues: The primary use case, allowing multiple IMS control regions in a sysplex to share input and output message queues, significantly enhancing availability and scalability for transaction processing.
    • IMS Shared EMH (Express Message Handler) Queues: Used by IMS for high-performance, non-recoverable message processing where speed is critical, often for internal IMS communication or transient data.
    • Shared Checkpoint Queues: CQS can manage queues for shared checkpoint data, facilitating faster recovery and restart for IMS subsystems within a data sharing group.
    • Workload Distribution: Enables dynamic distribution of transaction processing across a pool of IMS systems, optimizing resource utilization and ensuring continuous service even if an IMS region fails.

Related Concepts

CQS is inextricably linked with IMS (Information Management System), forming the backbone of IMS Shared Queues, which allows multiple IMS subsystems to share message queues for high availability and workload balancing. It relies heavily on the z/OS Coupling Facility (CF) to store queue data in list structures, providing the necessary shared memory and high-speed communication within a z/OS Sysplex. CQS also interacts with the MVS Logger to ensure recoverability of queue data, similar to how other data sharing components like DB2 Data Sharing or IMS Data Sharing use the logger for transaction recovery.

Best Practices:

Related Vendors

IBM

646 products

MacKinney Systems

54 products

UNICOM Systems

35 products

Trax Softworks

3 products

Related Categories

Performance

171 products

email

33 products

CICS

214 products

Tools and Utilities

519 products

Administration

395 products