
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-8
Commands Related to ALLOCATE
EOF 0 (0.0 % USED)
FILE LABEL: 214 (5.2 % USED)
EXTENTS ALLOCATED: 0
This display indicates it is a DP2 file because:
The listing includes the MAXEXTENTS, BUFFERSIZE, CREATION DATE, and
LAST OPEN attributes.
The extent size for YRFILE is not the one page (2,048 bytes) FUP default.
During the file-creation process, DP2 rounds up the extent size (to 2 pages or
4,096 bytes) because the extent size of DP2 files must always be an integral
multiple of the BUFFERSIZE (for unstructured files) or of the BLOCK size (for
structured files).
To create an unstructured DP2 file with one-page extents, you must specify a
BUFFERSIZE of 2048 bytes with either the FUP SET or FUP CREATE command.
3. To allocate 10 file extents for YRFILE:
-ALLOCATE YRFILE, 10
4. Use the FUP INFO YRFILE, DETAIL command to see that the extents are now
allocated:
$BOOKS1.COMLANG.YRFILE 14 April 2001, 09:05
ENSCRIBE
TYPE U
FORMAT 1
EXT ( 2 PAGES, 2 PAGES )
MAXEXTENTS 16
BUFFERSIZE 4096
OWNER 8,44
SECURITY (RWEP): NUNU
DATA MODIF: 14 April 2001, 08:59
CREATION DATE: 14 April 2001, 08:59
LAST OPEN: 14 April 2001, 09:04
EOF 0 (0.0 % USED)
FILE LABEL: 214 (5.2 % USED)
EXTENTS ALLOCATED: 10
Commands Related to ALLOCATE
COMMAND
Function
Page
DEALLOCATE
Deallocates unused file extents
2-62