Chapter 28 |
28
|
File Operations
|
28.1
|
File Attributes
|
28.1.1
|
Specifying File Attributes
|
28.2
|
File Access Strategies
|
28.3
|
File Protection and Access
|
28.3.1
|
Read-Only Access
|
28.3.2
|
Shared Access
|
28.4
|
File Access and Mapping
|
28.4.1
|
Using SYS$CRMPSC
|
28.4.1.1
|
Mapping a File
|
28.4.1.2
|
Using the User-Open Routine
|
28.4.1.3
|
Initializing a Mapped Database
|
28.4.1.4
|
Saving a Mapped File
|
28.5
|
Opening and Updating a Sequential File
|
28.6
|
User-Open Routines
|
28.6.1
|
Opening a File
|
28.6.1.1
|
Specifying USEROPEN
|
28.6.1.2
|
Writing the User-Open Routine
|
28.6.1.3
|
Setting FAB and RAB Fields
|
Chapter 29 |
29
|
Overview of Extended File Specifications (Alpha and I64 Only)
|
29.1
|
Benefits of Extended File Specifications
|
29.2
|
Features of Extended File Specifications
|
29.2.1
|
ODS-5 Volume Structure
|
29.2.1.1
|
Long File Names
|
29.2.1.2
|
More Characters Legal Within File Names
|
29.2.1.3
|
Preservation of Case
|
29.2.2
|
Deep Directory Structures
|
29.2.2.1
|
Directory Naming Syntax
|
29.3
|
Considerations Before Enabling ODS-5 Volumes
|
29.3.1
|
Considerations for System Management
|
29.3.2
|
Considerations for Users
|
29.3.2.1
|
Mixed-Version Support
|
29.3.2.2
|
Mixed-Architecture Support
|
29.3.3
|
NFS Support for Extended File Specifications
|
29.3.4
|
Considerations for Applications
|
29.4
|
Extended File Naming Considerations for OpenVMS Application Developers
|
29.4.1
|
Evaluating Your Current Support Status
|
29.4.2
|
Default Support
|
29.4.3
|
No Support for Extended File Names
|
29.4.4
|
No Support for ODS-5 Volumes
|
29.5
|
Upgrading an Application to Support Extended File Specifications
|
29.5.1
|
Upgrading to Default Support
|
29.5.1.1
|
Providing Support for ODS-5
|
29.5.1.2
|
Providing Support for Extended File Naming
|
29.5.2
|
Upgrading to Full Support
|
Chapter 30 |
30
|
Distributed Transaction Manager (DECdtm)
|
30.1
|
Overview of DECdtm
|
30.2
|
Single Branch Application
|
30.2.1
|
Calling DECdtm System Services for a Single Branch Application
|
30.2.1.1
|
Sample Single Branch Transaction
|
30.3
|
Multiple Branch Application
|
30.3.1
|
Resource Manager Use of the Branch Services
|
30.3.2
|
Branch Synchronization
|
30.4
|
Default Transactions
|
30.4.1
|
Multithreaded Applications
|
30.5
|
Resource Manager Interface
|
30.5.1
|
Creating RM Instances and Participants
|
30.5.2
|
Reporting an Event Notification
|
30.5.3
|
Responding to Events
|
30.5.4
|
Aborting a Transaction
|
30.5.5
|
Performing Recovery
|
30.5.6
|
Volatile Resource Manager
|
30.5.7
|
Modifying the DECdtm Log
|
30.5.8
|
Transaction Class
|
30.6
|
Communication Resource Manager Interface
|
30.7
|
DECdtm XA Interface (Alpha Only)
|
30.7.1
|
Using the XA Veneer
|
30.7.1.1
|
Transaction Demarcation
|
30.7.1.2
|
Locking Between Processes
|
30.7.1.3
|
Binding to the XA Interface
|
30.7.1.3.1
|
Static Binding
|
30.7.1.3.2
|
Dynamic Binding
|
30.7.1.3.3
|
Resource Manager Instances
|
30.7.1.3.4
|
Hints
|
30.7.1.4
|
Implementation Characteristics
|
30.7.1.4.1
|
Threads
|
30.7.1.4.2
|
Heuristic Decision
|
30.7.1.4.3
|
Resource Manager Synchronization
|
30.7.1.4.4
|
Asynchronous Operation
|
30.7.1.4.5
|
Resource Manager Switch
|
30.7.1.4.6
|
Image Termination and Recovery
|
30.7.1.4.7
|
Transaction Branch Identification
|
30.7.1.4.8
|
Error Handling
|
30.7.1.4.9
|
XA Functions
|
30.7.1.5
|
Recovery Processes
|
30.7.1.6
|
Error Logging
|
30.7.1.7
|
Tracing
|
30.7.2
|
Nonstandard XA Functions
|
Command 6
|
ax_bind_decdtm_2
|
Command 7
|
ax_close_decdtm
|
Command 8
|
ax_lock_decdtm
|
Command 9
|
ax_open_decdtm
|
Command 10
|
ax_unbind_decdtm
|
Command 11
|
ax_unlock_decdtm
|
30.7.3
|
Using the XA Gateway
|
30.7.3.1
|
Gateway Configuration
|
30.7.3.2
|
XA RM Configuration
|
30.7.3.2.1
|
Hints
|
30.7.3.3
|
Implementation Characteristics
|
30.7.3.3.1
|
Default Transaction
|
30.7.3.3.2
|
Locking Between Processes
|
30.7.3.3.3
|
Read-Only Optimization
|
30.7.3.3.4
|
Blocking Conditions
|
30.7.3.3.5
|
XA Return Values
|
30.7.3.4
|
Error Logging
|
30.7.3.5
|
Tracing
|
30.7.4
|
XA Gateway Control Program (XGCP) Utility
|
30.7.4.1
|
XGCP Description
|
30.7.4.2
|
XGCP Usage Summary
|
30.7.4.3
|
XGCP Description
|
30.7.4.4
|
XGCP Commands
|
30.8
|
Program Examples Using DECdtm
|
30.8.1
|
Fortran Program Example
|
30.8.2
|
C Program Examples
|
30.8.2.1
|
$DECLARE_RMW
|
30.8.2.2
|
$GET_DEFAULT_TRANS and $JOIN_RMW
|
30.8.2.3
|
Event Handler and $ACK_EVENT
|
30.8.2.4
|
$GETDTI and $SETDTI
|
30.8.3
|
BLISS Program Examaple
|