8 using fup for advanced file management, Creating files, Using fup for advanced file management – HP NonStop G-Series User Manual
Page 123: Section 8, using fup for advanced file management, Section 8, using, Fup for advanced file management
![background image](/manuals/396922/123/background.png)
Guardian User’s Guide — 425266-001
8 -1
8
Using FUP for Advanced File
Management
This section contains information for users who are familiar with both the basic uses of
the File Utility Program (FUP) and with Enscribe, the Compaq NonStop™ Kernel
database record manager:
For more information about file structures in NonStop™ Kernel systems, see the
ENSCRIBE Programmer’s Guide.
Creating Files
You can use FUP to create both structured and unstructured disk files. (You can create
unstructured files with the TACL CREATE command. For information about the TACL
CREATE command, see the TACL Reference Manual.)
To create a file with FUP:
1. Assign values to file-creation parameters with the FUP SET command. FUP
maintains a table of current file-creation parameters. The values of these parameters
can determine the attributes of any file you create with FUP. (You can also override
the current settings by specifying different values in your CREATE command.)
2. Check the values of file-creation parameters with the FUP SHOW command to
ensure that the values are correct, before creating a new file.
3. Create the file with the FUP CREATE command. When you enter the CREATE
command, FUP consults its table of file-creation parameters and, if the current
values result in a legal file, creates a file whose attributes are based on these values.
4. Restore one or more file-creation parameters to their original values with the FUP
RESET command.
Topic
Page