Restoring default file-creation parameters – HP NonStop G-Series User Manual
Page 127
![background image](/manuals/396922/127/background.png)
Using FUP for Advanced File Management
Guardian User’s Guide — 425266-001
8 -5
Restoring Default File-Creation Parameters
To see the file attributes, enter the INFO command with the file name and DETAIL
option:
To create a different type of file, such as a key-sequenced file, first specify the file type
with the FUP SET command:
For a key-sequenced file, you must also specify the length of the primary key:
Now if you enter the SHOW command, this information is displayed:
This SHOW display lists more attributes than those you assigned with your SET
command. The additional values are defaults that apply to structured files (including
key-sequenced files, files with alternate keys, and partitioned files).
Before you create a file, enter a FUP SHOW command and check that the values of the
file-creation parameters are the ones you want. Correct any parameters you want to
change, and then create the file.
Restoring Default File-Creation Parameters
After you create a file (and before you create another), you might want to restore certain
file-creation parameters to their default values. To do this, enter the RESET command
followed by the parameter or parameters to reset.
-INFO FILE1, DETAIL
$MANUF.FREDFILE.FILE1 20 Jan 1992 11:04
ENSCRIBE
TYPE U
EXT ( 2 PAGES, 2 PAGES )
MAXEXTENTS 16
BUFFERSIZE 4096
OWNER 8,44
SECURITY (RWEP): NUNU
MODIF: 20 Jan 1992 11:03
CREATION DATE: 20 Jan 1992 11:03
LAST OPEN: NEVER OPENDED
EOF 0 ( 0.0% USED)
EXTENTS ALLOCATED: 0
-SET TYPE K
-SET KEYLEN 9
-SHOW
TYPE K
EXT ( 2 PAGES, 2 PAGES )
REC 80
BLOCK 4096
IBLOCK 4096
KEYLEN 9
KEYOFF 0
MAXEXTENTS 16