
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-173
SET Parameters for All File Types
specified with NO BUFFERED. The default is BUFFERED for audited files and NO
BUFFERED for nonaudited files.
CODE file-code
sets the file code. Specify
file-code
as an integer in the range 0 through 65,535.
The default is zero. File codes 100 through 999 are reserved for use by HP.
EXT { extent-size }
{ ( pri-extent-size , sec-extent-size ) }
sets the extent size—including primary and secondary extent sizes (if applicable).
Extents should be at least as large as the block size (for structured files). If they
are not, multiple extents are allocated every time a block is required. The extent
size must be an integral multiple of the unstructured buffer size (for unstructured
DP2 files).
The default value for
extent-size
and
pri-extent-size
is one page (2,048
bytes). If you specify a value of zero or do not specify a value,
sec-extent-size
defaults to the
pri-extent-size
value. When creating files, you cannot define
primary or secondary extents as zero pages.
For unstructured files on a disk drive in a disk drive enclosure, the
pri-extent-
size
and the
sec-extent-size
must both be divisible by 14. DP2
automatically rounds the size up if the file is non-partitioned.
You can specify these values for
extent-size
,
pri-extent-size,
and
sec-extent-size
:
0:maximum [ PAGE[S] ]
specifies the extent size in pages (2,048-byte units). Possible values of
maximum
are:
Because the minimum extent size is one page (2,048 bytes), one page is
also allocated if you specify zero extents.
Caution.
If you use the buffered-cache option on a DP2 file that is not audited by TMF, a
system failure or disk-process takeover can cause the loss of buffered updates to the file. An
application program might not detect this loss (or handle the loss correctly) unless it is modified
to do so.
Note.
For a list of the reserved file codes, see
Table 2-2
on page 2-90.
Format 1
Format 2
0:65,535 [ PAGE[S] ]
0:512,000,000 [ PAGE[S] ]
Note.
If you specify an extent size over 65,535 pages, you must assign Format 2
to your files.