
FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-7
ALLOCATE Examples
For nonpartitioned files and partitioned files that are not key sequenced, it is the
total number of extents to be allocated to the file.
An example is trying to allocate 12 additional extents to a nonpartitioned file that
already has four extents allocated and trying to allocate 12 additional extents for
the primary partition of a key-sequenced file that already has four extents
allocated. Although you need to specify 16 for
num-extents
in both instances,
you must include the PARTONLY option with the key-sequenced file specification
so that the 12 extents are allocated only to the primary partition.
The ALLOCATE command cannot handle SQL files that are not SQL object files.
You must use the SQLCI CREATE and SQLCI ALTER commands.
To allocate volume directory extents for
fileset-list
, you must use this file
name syntax:
$volume.SYS00.DIRECTRY
For an enhanced key-sequenced file, the ALLOCATE command assigns specified
extents for secondary partitions, but the extents of the primary partition remain
unchanged.
ALLOCATE command with PART ONLY option and
fileset-list
as primary
partition of an enhanced key-sequenced file is executed, but the extents of the
primary partition remain unchanged.
ALLOCATE Examples
To create an unstructured file and allocate 10 file extents for it:
1. To create an unstructured file when the default file-creation attributes are enabled:
-CREATE YRFILE
2. Use the FUP INFO, DETAIL command to see that no file extents are initially
allocated for the file:
-INFO YRFILE, DETAIL
$BOOKS1.COMLANG.YRFILE 14 April 2001, 9:00
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: NEVER OPENED
Note.
You can allocate more than 16 extents on the last partition only when you use the
PARTONLY option with the ALLOCATE command.
Содержание G08
Страница 4: ......
Страница 290: ...FUP Messages File Utility Program FUP Reference Manual 523323 014 3 38 ...
Страница 296: ...FUP Command Summary File Utility Program FUP Reference Manual 523323 014 B 4 ...
Страница 310: ...FUP Command Syntax Summary File Utility Program FUP Reference Manual 523323 014 C 14 ...