FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-185
SET Examples
SET Examples
ï‚·
To create a non-partitioned unstructured file on a disk drive in a disk drive
enclosure:
-SET TYPE U
-SET EXT (2,20)
-SET REC 80
-CREATE TEST
ï‚·
To create a partitioned unstructured file where one or more partitions reside on a
disk drive in a disk drive enclosure.
-SET TYPE U
-SET EXT (14,42)
-SET REC 80
-SET PART (1,$FIBRE,14,42)
-CREATE TESTPART
ï‚·
If you set the BUFFERSIZE for an unstructured DP2 file, FUP rounds the buffer
size up to the next DP2 block size. Suppose you set the buffer at 30 bytes:
-SET BUFFERSIZE 30
The SHOW command indicates the buffer size is 512 bytes:
-SHOW
TYPE U
Table 2-3. Extent-Size Rounding
Type of File EXT Parameter Value Extent Size Created
DP2 Files Unstructured File
With BUFFERSIZE <= 4096
With BUFFERSIZE > 4096
With BUFFERSIZE > 4096
With BUFFERSIZE > 4096
Any N (N, N)
Even N (N, N)
Odd N (N+1, N+1)
Default (2, 2)
Structured File
With BLOCK <= 4096
With BLOCK <= 4096
With BLOCK > 4096
With BLOCK > 4096
Default (1, 1)
Any N N, N)
Even N (N, N)
Odd N (N+1, N+1)
Note. DP rounds the extent sizes up to multiples of 14 so the actual extent information will
be ext (14,28), not ext (2,20) as specified.
Note. DP2 requires that the pri-extent-size and sec-extent-size of partitioned
unstructured files explicitly be multiples of 14. It further requires that the pri-extent-size for
every partition be the same; the sec-extent-size for every partition must also be the
same for every partition. If the extent size is not the same for every partition, error 21 is
returned.