![HP Guardian Скачать руководство пользователя страница 129](http://html.mh-extra.com/html/hp/guardian/guardian_user-manual_165061129.webp)
Using FUP for Advanced File Management
Guardian User’s Guide — 425266-001
8 -7
File-Creation Examples
To create an unstructured file named $USERS.JOHN.UNSTRUCT whose primary
extent size is 10 pages (20,480 bytes), whose secondary extent size is 2 pages (4096
bytes), and whose file code is 999, enter:
Creating an Entry-Sequenced File
Entry-sequenced files have these characteristics:
•
Records are searched sequentially from the beginning of the file.
•
Records added to the file can vary in length, but once a new record is added, its
length cannot change.
•
Records in the file can be updated but not deleted.
To create an entry-sequenced file named $USERS.JOHN.ENSEQ whose primary extent
and secondary extent sizes are four pages each, and whose data-block length is 2048
bytes, enter:
-SET EXT (10,2) --You can specify extent sizes in
--pages, bytes, records, and
--megabytes. If you do not specify a
--unit, FUP assumes that the unit is
--pages.
-SET CODE 999 -- Set the file code (used to identify
-- the file).
-SHOW -- Show the current parameter values.
TYPE U
CODE 999
EXT ( 10 PAGES, 2 PAGES )
MAXEXTENTS 16
BUFFERSIZE 4096
-CREATE UNSTRUCT -- Create the file.
CREATED - $USERS.JOHN.UNSTRUCT
-SET TYPE E --Set the file type to entry-sequenced.
-SET EXT 4 --You can specify extent sizes in pages,
--bytes, records, and megabytes. If you
--do not give a unit, FUP assumes pages.
-SET BLOCK 2048 --Set the data-block length.
-SHOW --Show the current parameter values.
TYPE E
EXT ( 4 PAGES, 4 PAGES )
REC 80
BLOCK 2048
MAXEXTENTS 16
-CREATE ENSEQ --Create the file.
CREATED - $USERS.JOHN.ENSEQ
Содержание 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 ...