HP OpenVMS Systems Documentation
Guide to OpenVMS File Applications
Previous
Contents
Index
Chapter 10
10
Maintaining Files
10.1
Viewing File Characteristics
10.1.1
Performing an Error Check
10.1.2
Generating a Statistics Report
10.1.3
Using Interactive Mode
10.1.4
Examining a Sequential File
10.1.5
Examining a Relative File
10.1.6
Examining an Indexed File
10.2
Generating an FDL File from a Data File
10.3
Optimizing and Redesigning File Characteristics
10.3.1
Redesigning an FDL File
10.3.2
Optimizing a Data File
10.4
Making a File Contiguous
10.4.1
Using the Copy Utility
10.4.2
Using the Convert Utility
10.4.3
Reclaiming Buckets in Prolog 3 Files
10.5
Reorganizing a File
10.6
Making Archive Copies
Appendix A
Appendix A
Edit/FDL Utility Optimization Algorithms
A.1
Allocation
A.2
Extension Size
A.3
Bucket Size
A.4
Global Buffers
A.5
Index Depth
Glossary
Glossary
Glossary
Index
Index
Examples
2-1
Creating a File Containing Collated Keys
4-1
Sample Edit/FDL Utility Session
4-2
Sample FDL File
4-3
Using FDL Routines in a Pascal Program
4-4
Using the FDL$CREATE Routine in a Fortran Program
4-5
Using the FDL$CREATE Routine from a COBOL Program
4-6
Tagging a File
4-7
Accessing a Tagged File
4-8
Using the CONVERT Routines in a Fortran Program
4-9
Using the CONVERT Routines in a COBOL Program
5-1
Using Logical Names for Remote File Access
5-2
Selecting the USEROPEN Option to Call a Routine
5-3
Using the Parse and Search Services
6-1
Rooted-Directory Syntax
7-1
Designing a Pause Between Attempts to Access a Record
9-1
Specifying Run-Time Attributes
9-2
Using the FDL$PARSE and FDL$RELEASE Routines
10-1
Using ANALYZE/RMS_FILE to Create a Check Report
10-2
Using ANALYZE/RMS_FILE to Create a Statistics Report
10-3
Examining a Sequential File
10-4
Examining a Relative File
10-5
Examining an Area Descriptor Path
10-6
Examining a Primary Record
10-7
Examining an Alternate Record
10-8
KEY and ANALYSIS_OF_KEY Sections in an FDL File
Figures
1-1
Files--11 On-Disk Structure Hierarchy
1-2
Single and Multiple File Extents
1-3
Tracks and Cylinders
1-4
DSI and FAT Structures in an XAR
1-5
Interrecord Gaps
1-6
Basic Layout of an ANSI Magnetic Tape Volume
1-7
Single File on a Single Volume
1-8
Single File on Multiple Tape Volumes
1-9
Multifile/Single-Volume Configuration
1-10
Multifile/Multivolume Configuration
1-11
Blocked Fixed-Length Records
1-12
Variable-Length Records
1-13
Using CONVERT to Create a Data File
1-14
Using CREATE/FDL to Create an Empty Data File
2-1
Sequential Access to a Sequential File
2-2
Sequentially Retrieving Records in a Relative File
2-3
Sequentially Storing Records in a Relative File
2-4
Random Access by Relative Record Number
2-5
Random Access by Record File Address
2-6
Comparison of Fixed- and Variable-Length Records
2-7
Writing a VFC Record to a File
2-8
Retrieving a VFC Record
2-9
Sequential File Organization
2-10
Relative File Organization
2-11
Variable-Length Records in Fixed-Length Cells
2-12
Single-Key Indexed File Organization
2-13
Multiple-Key Indexed File Organization
3-1
RMS Index Structure
3-2
Primary Index Structure
3-3
Finding the Record with Key 14
4-1
Line_Plot Graph
4-2
Surface_Plot Graph
4-3
Design Mnemonics
7-1
Shared File Access
7-2
RMS Buffers and the Application Program
7-3
Using Global Buffers for a Shared File
8-1
Using RFA Access to Establish Record Position
10-1
Tree Structure for Sequential Files
10-2
Record Layout and Content for SEQ.DAT
10-3
Tree Structure of Relative Files
10-4
Area Descriptor Path
10-5
Key Descriptor Path
10-6
Structure of Primary Records
10-7
Structure of Alternate Records
10-8
RMS Tuning Cycle
Tables
1-1
Record Access Methods
1-2
Record Formats
1-3
File Structure Options on OpenVMS Systems
1-4
Comparison of ODS-1, ODS-2, and ODS-5
1-5
Files--11 Control Files
1-6
Labels and Components Supported by OpenVMS Systems
2-1
Supported Record Access Modes and File Organizations
2-2
File Organization Characteristics
2-3
Sequential File Organization: Advantages and Disadvantages
2-4
Relative File Organization: Advantages and Disadvantages
2-5
Indexed File Organization: Advantages and Disadvantages
4-1
Summary of the Edit/FDL Utility Commands
4-2
Edit/FDL Utility Scripts
6-1
File Specification Defaults
6-2
Example of Applying Defaults
7-1
File Access Record Operations
7-2
File-Sharing Record Operations
7-3
Initial File Sharing and Subsequent File Access
7-4
Initial File Access and Subsequent File Sharing
7-5
Methods Available for Specifying No Query Record Locking
7-6
Compatibility of Record-Locking Options
8-1
Record Operations and File Organizations
8-2
Search Key Types
8-3
Record Access Stream Context
10-1
ANALYZE/RMS_FILE Command Summary
Previous
Next
Contents
Index