You are previewing Event Processing with CICS.
O'Reilly logo
Event Processing with CICS

Book Description

This completely refreshed IBM Redbooks® publication provides a detailed introduction to the latest capabilities for business event processing with IBM® CICS® V5. Events make it possible to identify and react to situations as they occur, and an event-driven approach, where changes are detected as they happen, can enable an application or an Enterprise to respond in a much more timely fashion. CICS event processing support was first introduced in CICS TS V4.1, and this IBM Redbooks® publication now covers all the significant enhancements and extensions which have been made since then.

CICS Transaction Server for z/OS provides capabilities for capturing application events, which can give insight into the business activities carried out within CICS applications, and system events, which give insight into changes in state within the CICS system. Application events can be generated from existing applications, without requiring any application changes.

Simple tooling allows both application and system events to be defined and deployed into CICS without disruption to the system, and the resulting events can be made available to a variety of event consumers. CICS events can amongst other things be used to drive processing within CICS, to populate dashboards that are provided by IBM Business Monitor and to search for patterns in events using IBM Operational Decision Manager.

This IBM Redbooks® publication is divided into the following parts:

Part 1 introduces event processing. We explain what it is and why you need it, and discuss how CICS makes it easy to both capture and emit events.

Part 2 of the book focuses on the details of event processing with CICS. It gives a step-by-step guide to implementing CICS events, along with the environment used in the examples.

Part 3 provides some guidance on governance and troubleshooting for CICS events, and describes how to integrate CICS events with IBM Operational Decision Manager and IBM Business Monitor.

The Appendices include additional reference information.

Table of Contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. Authors
    2. Become a published author
    3. Comments welcome
  4. Part 1 Introduction
    1. Chapter 1. Introduction to event processing and CICS event processing support
      1. 1.1 What is an event?
      2. 1.2 What is event processing?
        1. 1.2.1 Simple events
        2. 1.2.2 Complex events
      3. 1.3 Why you need events
      4. 1.4 Business application events and system events
      5. 1.5 IBM solutions for business event processing
        1. 1.5.1 CICS Transaction Server
        2. 1.5.2 CICS Explorer
        3. 1.5.3 TXSeries Events SDK
        4. 1.5.4 IBM Operational Decision Manager
        5. 1.5.5 IBM Business Monitor
        6. 1.5.6 Cognos Real-time Monitoring
        7. 1.5.7 WebSphere Message Broker
        8. 1.5.8 WebSphere Enterprise Service Bus
        9. 1.5.9 Tivoli OMEGAMON XE for CICS on z/OS
        10. 1.5.10 CICS SupportPac CA1Y: Send email from CICS TS for z/OS
        11. 1.5.11 Solutions reviewed
      6. 1.6 Introduction to CICS event processing support
        1. 1.6.1 CICS application events
        2. 1.6.2 CICS system events
        3. 1.6.3 CICS event emission
      7. 1.7 Evolution of CICS event processing support
        1. 1.7.1 CICS event capabilities in CICS TS V4.1
        2. 1.7.2 CICS event capabilities in CICS TS V4.2
        3. 1.7.3 CICS event capabilities in CICS TS V5.1
      8. 1.8 Summary
    2. Chapter 2. Capturing application and system events
      1. 2.1 How CICS supports event processing
      2. 2.2 CICS Explorer
        1. 2.2.1 CICS bundles
      3. 2.3 Event binding editor
        1. 2.3.1 Event Binding tab
        2. 2.3.2 Specifications tab
        3. 2.3.3 Capture Point tab
        4. 2.3.4 Filtering tab
        5. 2.3.5 Information Sources tab
        6. 2.3.6 Adapter tab
      4. 2.4 Explicit events by using SIGNAL EVENT
        1. 2.4.1 Automatic Capture Specification for SIGNAL EVENT
      5. 2.5 Deploying a CICS bundle to zFS
    3. Chapter 3. Event emission
      1. 3.1 Event processing adapters
        1. 3.1.1 TS Queue EP adapter
        2. 3.1.2 Transaction start EP adapter
        3. 3.1.3 WebSphere MQ EP adapter
        4. 3.1.4 HTTP EP adapter
        5. 3.1.5 Custom EP adapter
        6. 3.1.6 Data formats supported by EP adapters
      2. 3.2 EP Adapter advanced options
        1. 3.2.1 Emission mode
        2. 3.2.2 Dispatch priority
        3. 3.2.3 Transaction ID
        4. 3.2.4 User ID
        5. 3.2.5 Transactional events
      3. 3.3 Predefined EP adapters
      4. 3.4 EP adapter set
      5. 3.5 Exporting event specifications
  5. Part 2 Implementing CICS event processing
    1. Chapter 4. Environment overview
      1. 4.1 Example environment
      2. 4.2 Shopping sample application
      3. 4.3 Sample scenarios
        1. 4.3.1 Scenario: Query versus sale
        2. 4.3.2 Scenario: Stock low
        3. 4.3.3 Scenario: Shipped order meets service level agreements
        4. 4.3.4 Scenario: High-value order breakdown
      4. 4.4 The events emitted from the sample application
    2. Chapter 5. Setting up CICS for events
      1. 5.1 CICS Explorer setup
        1. 5.1.1 Obtaining the CICS Explorer
        2. 5.1.2 CICS Explorer connectivity
        3. 5.1.3 The CICS event binding editor
      2. 5.2 CICS System setup
        1. 5.2.1 Adding TCP/IP support to use the HTTP EP adapter
        2. 5.2.2 Enabling CICS event processing
        3. 5.2.3 Stopping CICS event processing
      3. 5.3 Creating and installing a bundle definition
        1. 5.3.1 Creating a new CICS bundle definition
        2. 5.3.2 Installing a bundle definition into CICS
      4. 5.4 Enabling and disabling and discarding events
        1. 5.4.1 Replacing a deployed bundle
      5. 5.5 Security considerations for CICS events
        1. 5.5.1 Changes to security
        2. 5.5.2 Setting up CICS security for event bindings
        3. 5.5.3 The user ID in EP adapters
    3. Chapter 6. Capturing application events
      1. 6.1 Create the CICS bundle project
      2. 6.2 Creating the event binding
        1. 6.2.1 Referencing the TS Queue adapter
      3. 6.3 Creating the TS Queue adapter
        1. 6.3.1 Exporting the event specification
      4. 6.4 Exporting the CICS bundle project
      5. 6.5 Installing the CICS bundle
      6. 6.6 Testing the shopping application
        1. 6.6.1 Verifying the event was emitted
      7. 6.7 Completing the shopping scenario
    4. Chapter 7. Generating CICS system events
      1. 7.1 Creating a system event FileClose
        1. 7.1.1 Creating zHFS directory
        2. 7.1.2 Creating the bundle project
        3. 7.1.3 Defining the Temporary Storage queue EP adapter
        4. 7.1.4 Exporting the bundle project
        5. 7.1.5 Installing the bundle in CICS
        6. 7.1.6 Testing the system event
        7. 7.1.7 Verifying the event processing
      2. 7.2 Sample system events for alerting on TRANCLASS
        1. 7.2.1 Background
        2. 7.2.2 Goal
        3. 7.2.3 System setup
        4. 7.2.4 Application sample setup
        5. 7.2.5 Defining an event on TRANCLASS TASK THRESHOLD
        6. 7.2.6 Test Case
        7. 7.2.7 User Task SSCK
  6. Part 3 Working with CICS events
    1. Chapter 8. Governance and troubleshooting
      1. 8.1 Impact of application changes on events
        1. 8.1.1 Event processing search
      2. 8.2 Best practices for performance
        1. 8.2.1 Capturing an event
        2. 8.2.2 Dispatching the EP adapter
        3. 8.2.3 Emitting an event through the EP adapter
        4. 8.2.4 Assured events
      3. 8.3 Monitoring and statistics
      4. 8.4 Problem determination
        1. 8.4.1 Events not captured
        2. 8.4.2 Unexpected events captured
        3. 8.4.3 Capture data is not as expected
    2. Chapter 9. IBM Operational Decision Manager
      1. 9.1 Scenario overview
      2. 9.2 Building an event project in Event Designer
        1. 9.2.1 Creating an event project
        2. 9.2.2 Creating event and business objects
        3. 9.2.3 Creating actions and action objects
        4. 9.2.4 Creating an event rule
        5. 9.2.5 Configuring the technology connectors
      3. 9.3 Next steps
    3. Chapter 10. IBM Business Monitor
      1. 10.1 Scenario overview
      2. 10.2 WebSphere MQ set up on z/OS
      3. 10.3 Stock Level low scenario that uses WebSphere MQ EP adapter
        1. 10.3.1 Specifying the EP adapter
        2. 10.3.2 Creating the WebSphere MQ adapter
        3. 10.3.3 Exporting the event specification
        4. 10.3.4 Testing the shopping application
      4. 10.4 Scenario: Shipped order meets service level agreements by using HTTP EP adapter
        1. 10.4.1 Creating the ServiceLevelAgreement event
        2. 10.4.2 Defining the Ship Event specification
        3. 10.4.3 Creating the HTTP adapter
        4. 10.4.4 Exporting the event specification
  7. Appendix A. Capture points, filter predicates, and information items provided by CICS
    1. CICS application capture points
  8. Appendix B. Additional material
    1. Locating the web material
    2. Using the web material
  9. Related publications
    1. IBM Redbooks
    2. Online resources
    3. How to get Redbooks
    4. Help from IBM
  10. Back cover