You are previewing An Introduction to IMS: Your Complete Guide to IBM Information Management System.
O'Reilly logo
An Introduction to IMS: Your Complete Guide to IBM Information Management System

Book Description

IBM’s Definitive One-Stop Guide to IMS Versions 12, 11, and 10: for Every IMS DBA, Developer, and System Programmer

Over 90% of the top Fortune® 1000 companies rely on IBM’s Information Management System (IMS) for their most critical IBM System z® data management needs: 50,000,000,000+ transactions run through IMS databases every day. What’s more, IBM continues to upgrade IMS: Versions 12, 11, and 10 meet today’s business challenges more flexibly and at a lower cost than ever before. In An Introduction to IMS, Second Edition, leading IBM experts present the definitive technical introduction to these versions of IMS.

More than a complete tutorial, this book provides up-to-date examples, cases, problems, solutions, and a complete glossary of IMS terminology. Prerequisite reading for the current IBM IMS Mastery Certification Program, it reflects major recent enhancements such as dynamic information generation; new access, interoperability and development tools; improved SOA support; and much more. Whether you’re a DBA, database developer, or system programmer, it brings together all the knowledge you’ll need to succeed with IMS in today’s mission critical environments.

Coverage includes

  • What IMS is, how it works, how it has evolved, and how it fits into modern enterprise IT architectures

  • Providing secure access to IMS via IMS-managed application programs

  • Understanding how IMS and z/OS® work together to use hardware and software more efficiently

  • Setting up, running, and maintaining IMS

  • Running IMS Database Manager: using the IMS Hierarchical Database Model, sharing data, and reorganizing databases

  • Understanding, utilizing, and optimizing IMS Transaction Manager

  • IMS application development: application programming for the IMS Database and IMS Transaction Managers, editing and formatting messages, and programming applications in Java™

  • IMS system administration: the IMS system definition process, customizing IMS, security, logging, IMS operations, database and system recovery, and more

  • IMS in Parallel Sysplex® environments: ensuring high availability, providing adequate capacity, and balancing workloads

  • Table of Contents

    1. Title Page
    2. Copyright Page
    3. Contents
    4. Acknowledgments
    5. About the Authors
    6. Preface
      1. Prerequisite Knowledge
      2. Learning More about IMS
      3. We Welcome Your Feedback
    7. Part I: Overview of IMS
      1. Chapter 1. IMS: From Apollo to Enterprise
        1. IMS and the Apollo Program
        2. IMS as a Database Management System
        3. IMS as a Transaction Manager
        4. Who Uses IMS?
        5. IMS and Enterprise Integration
      2. Chapter 2. Overview of the IMS Product
        1. IMS Database Manager
        2. IMS Transaction Manager
        3. IMS System Services
        4. IMS Product Documentation
        5. Hardware and Software Requirements for IMS
      3. Chapter 3. Access to and from IMS
        1. IMS-Managed Application Program Access
        2. Accessing IMS from Other Application Runtime Environments
        3. Access to and from IMS Using the IMS SOA Integration Suite Components
        4. Accessing from IMS
        5. Accessing to and from IMS
      4. Chapter 4. IMS and z/OS
        1. How IMS Relates to z/OS
        2. Structure of IMS Subsystems
        3. Running an IMS System
        4. Running Multiple IMS Systems
        5. How IMS Uses z/OS Services
      5. Chapter 5. Setting Up, Running, and Maintaining IMS
        1. Installing IMS
        2. Defining an IMS System
        3. IMS Startup
        4. IMS Logging
        5. IMS Utility Programs
        6. IMS Recovery
        7. IMS Shutdown
        8. Maintaining an IMS system
    8. Part II: IMS Database Manager
      1. Chapter 6. Overview of the IMS Database Manager
        1. IMS Database Manager Overview
        2. Implementation of IMS Databases
        3. Full-Function Databases
        4. Fast Path Data Entry Databases
        5. Storing Data in IMS and DB2 for z/OS
        6. Storing XML Data in IMS
        7. Open Database Manager
      2. Chapter 7. Overview of the IMS Hierarchical Database Model
        1. IMS Hierarchical Database Basics
        2. Basic Segment Types
        3. Sequence Fields and Access Paths
      3. Chapter 8. Implementing the IMS Hierarchical Database Model
        1. Segments, Records, and Pointers
        2. IMS Hierarchical Access Methods
        3. Operating System Access Methods
        4. IMS Checkpoints
        5. Locking Data
      4. Chapter 9. Data Sharing
        1. How Applications Share Data
        2. DBRC and Data Sharing
      5. Chapter 10. The Database Reorganization Process
        1. Purpose of Database Reorganization
        2. When to Reorganize Databases
        3. Overview of the Database Reorganization Process
      6. Chapter 11. The Database Recovery Process
        1. Determining When Recovery Is Needed
        2. Overview of the Database Recovery Process
        3. IMS Backup and Recovery Utilities
    9. Part III: IMS Transaction Manager
      1. Chapter 12. Overview of the IMS Transaction Manager
        1. IMS TM Control Region
        2. Data Communications Control Environment
        3. IMS TM Network Overview
        4. Terminal Types
        5. APPC/IMS
        6. MSC and ISC
        7. Input Message Types
        8. Input Destination
        9. Message Format Service
        10. Message Queuing
        11. Operating an IMS Network
        12. Open Transaction Manager Access
        13. IMS Connect
        14. Workload Routing with the IMS Connect OTMA Interface
        15. WebSphere MQ
      2. Chapter 13. How IMS TM Processes Input
        1. IMS TM Messages
        2. Input Message Origin
        3. Transaction Scheduling
        4. Program and Transaction Definitions That Affect Scheduling
        5. Scheduling a BMP or JBP Application
        6. Scheduling Fast Path Transactions
        7. Scheduling in a Shared-Queues Environment
        8. IMS Transaction Flow
        9. OTMA Message Processing
        10. Synchronous Callout
        11. IMS Connect Implementation of Synchronous Callout
        12. Transaction Expiration
    10. Part IV: IMS Application Development
      1. Chapter 14. Application Programming Overview
        1. Application Program Structure
        2. IMS Setup for Applications
        3. IMS Application Programming Interfaces
        4. IMS Application Calls
        5. IMS System Service Calls
        6. Testing IMS Applications
      2. Chapter 15. Application Programming for the IMS Database Manager
        1. Introduction to Database Processing
        2. Processing a Single Database Record
        3. COBOL and PL/I Programming Considerations
        4. Processing Databases with Logical Relationships
        5. Processing Databases with Secondary Indexes
        6. Loading Databases
        7. Using Batch Checkpoint/Restart
      3. Chapter 16. Application Programming for the IMS Transaction Manager
        1. Application Program Processing
        2. Transaction Manager Application Design
      4. Chapter 17. Editing and Formatting Messages
        1. Message Format Service
        2. Basic Edit Function
      5. Chapter 18. Application Programming in Java
        1. IMS Universal Drivers Overview
        2. IMS Database Java Metadata
        3. Supported SQL Keywords
        4. Variable-Length Segment Support
        5. Virtual Foreign Key Fields
        6. IMS Support for the JVM Runtime Environment
        7. Developing JMP Applications
        8. Developing JBP Applications
        9. Issuing Synchronous Callout Requests from a Java Dependent Region
        10. Enterprise COBOL Interoperability with JMP and JBP Applications
        11. Accessing DB2 for z/OS Databases from JMP or JBP Applications
        12. Java Interoperability with MPP, IFP, and BMP Applications
        13. Distributed Connectivity with the IMS Universal Drivers
        14. XML Storage in IMS Databases
    11. Part V: IMS System Administration
      1. Chapter 19. The IMS System Definition Process
        1. Overview of the IMS System Definition Process
        2. IMS System Definition Macros
        3. Extended Terminal Option
        4. Dynamic Resource Definition and Online Change
      2. Chapter 20. Customizing IMS
        1. What Can Be Customized
        2. Exit Routine Naming Conventions
        3. Changeable Interfaces and Control Blocks
        4. IMS Standard User Exit Parameter List
        5. Routine Binding Restrictions
        6. Registers and Save Areas
        7. IMS Callable Services
        8. Exit Routine Performance Considerations
      3. Chapter 21. IMS Security
        1. Overview of DB/DC and DCCTL Security
        2. Overview of DBCTL Security
      4. Chapter 22. IMS Logging
        1. Overview of IMS System Logging
        2. Database Recovery Control Facility
        3. IMS System Checkpoints
        4. IMS Log Data Sets
      5. Chapter 23. Database Recovery Control Facility
        1. Overview of DBRC
        2. DBRC Tasks
        3. DBRC Components
        4. When to Use DBRC
        5. Communicating with DBRC
        6. DBRC Functions
        7. Overview of the RECON Data Sets
        8. Defining and Creating the RECON Data Sets
        9. Initializing the RECON Data Sets
        10. Allocating the RECON Data Sets to an IMS System
        11. Maintaining the RECON Data Sets
        12. Reorganizing RECON Data Sets
        13. Re-creating the RECON Data Sets
        14. Recommendations for RECON Data Sets
      6. Chapter 24. Operating IMS
        1. Controlling IMS
        2. Modifying and Controlling System Resources
        3. Starting IMS
        4. Restarting IMS
        5. Monitoring the System
        6. Shutting Down IMS
        7. IMS Failure Recovery
        8. Controlling Data Sharing
      7. Chapter 25. IMS Recovery Facilities
        1. Recovery of Failing IMS Components
        2. Recovery Using Dynamic Backout and Batch Backout
        3. Recovery Using DBRC
        4. Recovery in an IMSplex
        5. Recovery in a Parallel Sysplex Environment
        6. Recovery Using InfoSphere IMS Replication for z/OS
        7. Recovery Using IMS Recovery Expert for z/OS
        8. Recovery Using the Extended Recovery Facility
        9. Recovery Using Remote Site Recovery (RSR)
      8. Chapter 26. IBM IMS Tools
        1. Application Management Tools
        2. Backup and Recovery Tools
        3. Database Administration and Change Management Tools
        4. Data Governance/Regulatory Compliance Tools
        5. Information Integration Management Tools
        6. Performance Management Tools
        7. Transaction Management and System Management Tools
        8. Utilities Management Tools
        9. Miscellaneous IMS Tools
    12. Part VI: IMS in a Parallel Sysplex Environment
      1. Chapter 27. Introduction to Parallel Sysplex
        1. Goals of a Sysplex Environment
        2. Some Components and Terminology in a Parallel Sysplex
        3. IMS Data Sharing and the Sysplex Environment
        4. IMS Transaction Manager and the Sysplex Environment
        5. IMS Common Service Layer and the IMSplex
      2. Chapter 28. IMSplexes and the IMS Common Service Layer
        1. IMSplex Overview
        2. IMS Components and System Services That Are Part of an IMSplex
        3. z/OS Components and System Services Used in an IMSplex
        4. Common Service Layer Overview
        5. CSL Configuration Examples
        6. CSL Managers
        7. Defining and Tailoring an IMSplex
        8. IMS Functions That Use the IMS Common Service Layer
        9. Operating an IMSplex
    13. Part VII: Appendixes
      1. Appendix A. Glossary
      2. Appendix B. Notices
        1. Copyright License
        2. Trademarks
    14. Index