![HP Guardian Скачать руководство пользователя страница 131](http://html.mh-extra.com/html/hp/guardian/guardian_user-manual_165061131.webp)
Using FUP for Advanced File Management
Guardian User’s Guide — 425266-001
8 -9
File-Creation Examples
To create a relative file named $USERS.JOHN.RELATIVE whose primary extent size
is 5 pages, whose secondary extent size is 2 pages, and whose record length is 120 bytes,
enter:
Creating a Key-Sequenced File
In a key-sequenced file, records are stored by the values of their primary keys. A
primary key is a field within a record that uniquely identifies the record.
Figure 8-4
shows a possible format for a record in a key-sequenced file.
-SET TYPE R --Set the file type to relative.
-SET EXT (5,2) --You can specify extent sizes in
--pages, bytes, records, and megabytes
. --If you do not give a unit, FUP
--assumes pages.
-SET REC 120 --Set the record length to 120 bytes.
-SHOW --Show the current parameter values.
TYPE R
EXT ( 5 PAGES, 2 PAGES )
REC 120
BLOCK 4096
MAXEXTENTS 16
-CREATE RELATIVE --Create the file.
CREATED - $USERS.JOHN.RELATIVE
Figure 8-3. Structure of a Relative File
003
CDT
.CDD
Relative
File:
Primary access is via
record number.
Example:
FIND 6th
nth
Record
Number
Records are stored according to a record number
supplied by the application program.
Record
Relative
File
.
.
.
.
0th
1st
2nd
3rd
4th
5th
6th
7th
Содержание Guardian
Страница 24: ...About This Guide Guardian User s Guide 425266 001 xxii Your Comments Invited ...
Страница 30: ...Part I Using the Compaq Tandem Advanced Command Language TACL Guardian User s Guide 425266 001 ...
Страница 100: ...Part II Managing Files Using the File Utility Program FUP Guardian User s Guide 425266 001 ...
Страница 146: ...Part III Managing Disk and Tape Processes Guardian User s Guide 425266 001 ...
Страница 232: ...Backing Up and Restoring Disk Information Guardian User s Guide 425266 001 11 26 Backcopy Examples ...
Страница 234: ...Part IV Using the Spooler and Its Utilities Guardian User s Guide 425266 001 ...
Страница 248: ...Introduction to the Spooler Guardian User s Guide 425266 001 12 14 Sending Output to a SPOOL DEFINE ...
Страница 300: ...Performing Routine Spooler Operations Using Spoolcom Guardian User s Guide 425266 001 14 38 Problem Solving Summary ...
Страница 322: ...Part V Security Features and Other Guardian Utilities Guardian User s Guide 425266 001 ...
Страница 368: ...Monitoring Event Messages Guardian User s Guide 425266 001 17 14 Using the Event Viewer ...
Страница 378: ...Displaying Version and System Information Guardian User s Guide 425266 001 18 10 Task 2 Interpret SYSINFO Output ...
Страница 410: ...Monitoring Hardware Components Guardian User s Guide 425266 001 19 32 Automating System Monitoring ...
Страница 460: ...Index Guardian User s Guide 425266 001 Index 24 Special Characters ...