gtpd1m02Database Reference

Database Reference


Contents

  • Figures

  • Tables

  • Notices
  • Trademarks
  • About This Book
  • Before You Begin
  • Who Should Read This Book
  • How This Book is Organized
  • Conventions Used in the TPF Library
  • Related Information
  • How to Send Your Comments

  • Database Organization

  • File Address Formats
  • General Files
  • General Data Sets
  • Online Processing
  • Offline Processing
  • Online Database Addresses
  • FARF Format
  • Mapping FARF Addresses
  • General File Addresses
  • General Data Set Addresses
  • Extended MCHR File Address
  • Hardware File Address
  • General Data Sets
  • Premount of General Data Sets
  • General Data Set Commands
  • Record Processing of General Data Sets
  • Record Format
  • Processing Macros
  • General Files
  • Programming Notes for General Files
  • Processing a Relative Record Number Request
  • Processing an Extended MCHR Request
  • File Pool Support
  • Functional Description
  • File Address Formats
  • Pool Characteristics
  • Maintenance Functions
  • Pool Generation and Reallocation
  • Pool Directory Update (PDU)
  • Recoup Support
  • File Pool Count Reconciliation
  • Online Directory Capture and Restore
  • Management Functions
  • Get File Storage (GFS)
  • Release File Storage (RFS)
  • Initialize File Pools
  • Pool Function Switches
  • Pool Management Commands

  • Caching Support

  • Virtual File Access (VFA)
  • VFA Candidate Records
  • VFA Resource Definition
  • VFA Record Selection
  • Maximum VFA Trip Value
  • Specifying VFA Buffer Ratios and Percentages
  • Restart Procedures
  • Messages and Responses
  • Hardware Requirements
  • Record Caching
  • 3880 Record Cache RPQ
  • Hardware
  • Modes of Operation
  • Initial Program Load
  • DASD Processing and Error Recovery
  • Restrictions
  • Command Description
  • 3990 Record Cache RPQ
  • Hardware
  • Modes of Operation
  • TPF Record Cache Subsystem (RCS) Support
  • Command Description
  • Processing Differences between the 3990 Model 3 and the IBM Enterprise Storage Server

  • Utilities

  • Capture and Restore
  • Capture and Restore Processing Overview
  • Capture Processing
  • Capture of Keypoints
  • Restore Processing
  • Capture Considerations
  • Record Logging
  • Keypoint Capture
  • Restore Considerations and Procedures
  • Restore Procedures
  • Timing
  • Assumptions and Conditions Relative to Timing Example
  • Capture Timing Estimates
  • Restore Timing Estimates
  • Capture and Restore Keypoint Record
  • Keypoint Fields
  • Keypoint Tables
  • Keypoint DSECTs
  • Database Reorganization
  • Prerequisites
  • Considerations Before Using DBR
  • Database Reorganization Control Records
  • Master Keypoint
  • Working Keypoint
  • Override Keypoint
  • Database Reorganization Exception Records
  • Database Reorganization Processing Description
  • Initialization
  • Output Phase
  • Input Phase
  • Database Reorganization Sample Problem
  • Recoup
  • Fixed Records
  • Pool Records
  • Controlling the Use of Pool Addresses
  • Losing Pool Addresses Because of Software Errors or a System Restart
  • Recouping Lost Pool Addresses
  • Recoup Functions by Phase
  • Recoup Pre-Phase 1 Functions
  • Recoup Phase 1 Functions
  • Phase 2 Functions
  • Recoup Phase 3 Functions
  • Recoup Phase 4 Functions
  • Recoup Phase 5-Phase 7 Functions
  • Recoup Procedures by Phase
  • Pre-Phase 1
  • Phase 1 Procedures
  • Phase 2 Procedures
  • Phase 3 Procedures
  • Phase 4 Procedures
  • Phase 5 Procedures
  • Phase 6 and Phase 7 Procedures
  • Recoup Procedure for a Single Database
  • Recoup Records and Structures
  • Recoup Keypoint Record (BK0RP)
  • Recoup Data Store
  • IBM Recoup Scheduling Control Table (IRSCT)
  • IBM Recoup Active Root Table (IRART)
  • User Exits
  • Real-Time Disk Formatter
  • Method of Operation
  • Input
  • Data Control Cards
  • Formatter Control Cards
  • Output
  • FACE Driver and Offline Interface (DFAD)
  • File Print
  • File Print Errors
  • Offline Interface
  • Offline Interface Errors
  • TPF Transaction Services
  • Commit Scope Processing
  • File-Type Requests
  • MQSeries-Type Requests
  • Recovery Log Support
  • Writing to the Recovery Log
  • Reading from the Recovery Log
  • Restarting from the Recovery Log
  • Loosely Coupled Considerations and Log Takeover
  • TPF Collection Support
  • TPFCS Database Layout
  • Data Stores
  • Collections
  • Data Definitions
  • Property Service
  • Collection Lifetimes
  • Data Store Application Dictionary
  • Cursors
  • Using Iterative Operations over Collections
  • Using Key Paths
  • Database Integrity
  • Database Access
  • Concurrency Controls
  • Dirty-Reader Protection
  • TPF Transaction Services
  • Shadowing
  • Validation
  • Reconstruction
  • Database Archives
  • External Device Support
  • Archiving Support
  • Capture and Restore Support
  • Maintaining TPFCS
  • ZOODB Commands
  • ZBROW Commands
  • TPFCS Recoup
  • General Approach
  • Recoup Indexes
  • Embedded 4-Byte File Address Information
  • Embedded 8-Byte File Address Information
  • Embedded Persistent Identifier (PID) Information
  • Sample TPFCS Recoup Applications
  • TPF Collection Support Database from a TPF System Perspective
  • Object-Oriented Concepts
  • Collection Parts Stored in the TPF Database
  • Source Code Definition of Objects
  • File Representation of Objects
  • OBJECT Class
  • Object Header
  • Use of Pool Records
  • TPFCS Primary and Shadow Records
  • TPFCS Record Header
  • TPFCS Record Trailer
  • Packaging in DATXPAGE Envelopes
  • Collection Control Record
  • USERdata Object
  • Collection Residency
  • Compact Structures (StructureMem Class)
  • MemFLAT
  • MemHash
  • MemKey
  • MemList
  • Extended Structures (StructureDasd Class)
  • Record Types
  • Relative Record Numbers
  • Locating Records in a StructureDasd Object
  • DASDINDEX Structures
  • DASDFLAT Structures
  • DASDHASH Structures
  • DASDLIST Structures
  • How Objects Are Stored on DASD
  • How Some Objects Are Condensed to Save Space
  • How an Object Can Overflow into Additional Records
  • xternalObject
  • Owner ID
  • Determining Where Collections Are Stored on DASD
  • Locating the Collection Control Record
  • Listing Collection Parts
  • Displaying Collection Part Contents
  • Determining Collection Residency
  • Locating the Structure Object
  • Locating the Data
  • Determining More Information about Pool File Records Used by TPFCS
  • Scope of Current Validation and Reconstruction Support

  • Coupling Facility Support

  • Coupling Facility Support
  • Data Sharing Concepts and Terminology
  • Connection Services
  • Coupling Facility Commands
  • Using the Coupling Facility Commands
  • Coupling Facility Structure Concepts
  • Defining Structure Attributes for Coupling Facility Structures
  • Identifying Connection States
  • Understanding Structure Persistence
  • Allocating a Coupling Facility Structure
  • TPF System Considerations
  • Coupling Facility Considerations
  • Coupling Facility Resource Allocation Rules
  • Successfully Completing Coupling Facility Structure Allocation
  • Connecting to a Coupling Facility Structure
  • Overview of Connect Processing
  • Specifying Structure Attributes for Coupling Facility Structures
  • Determining Whether a Connection Is Successful
  • Receiving Information in the CFCONC Answer Area
  • Handling Failed Attempts to Connect to a Coupling Facility Structure
  • Disconnecting from a Coupling Facility Structure
  • Disconnection Parameters for the Coupling Facility Structure
  • Persistence Considerations
  • Handling Resources for a Disconnection
  • Successfully Completing a Disconnection
  • Coupling Facility List Structure Concepts
  • Coupling Facility List Structure
  • How Data Is Maintained in a Coupling Facility List Structure
  • Specifying Connection Parameters for the Coupling Facility List Structure
  • List Transition Exit
  • Checking or Modifying a List Notification Vector
  • List Notification Vector
  • Coupling Facility Cache Structure Concepts
  • Terminology
  • Benefits of Using Coupling Facility Cache Structures
  • Elements of a Cache System
  • Elements of a Coupling Facility Cache Structure
  • Accessing the Data
  • Maintaining Data Consistency in a Cache System
  • Registering Interest in a Piece of Shared Data and Validating Local Copies
  • Deregistering Interest in a Shared Piece of Data and Invalidating Local Copies
  • Coupling Facility Tables
  • Coupling Facility Control Table
  • Coupling Facility Status Table
  • Coupling Facility Trace Table
  • Message Subchannel Table
  • Coupling Facility Blocks
  • Coupling Facility Connection Block
  • Coupling Facility Structure Block
  • Coupling Facility Request Block
  • Coupling Facility Vector Block
  • Storage Dump Format
  • User-Modified Equates
  • Coupling Facility Locking Functions
  • Overview
  • Coupling Facility Lock Format
  • Defining Exit Routines
  • Conditions at Entry
  • System Conditions on Entry
  • Programming Considerations at Entry
  • Conditions on Return
  • Programming Considerations on Return
  • Coupling Facility Record Lock Support
  • Concepts for Coupling Facility Record Lock Support
  • Coupling Facility List Structures for Coupling Facility Locking
  • Coupling Facility Record Lock SupportCommands
  • Using the Coupling Facility Record Lock Support Commands
  • Coupling Facility Locking Table
  • User Modification Considerations
  • Determining the Coupling Facility List Structure Size for Locking
  • Changing the Lock Name
  • Changing the Name of Your Complex
  • Index