Saving database files

 

This information describes what the system does when you save a database file.

Use the SAVOBJ command to save individual database files. You can use the FILEMBR (file member) parameter to save:

Here is what the system does when you save a database file:


Table 1. Saving database files
Type of File What is saved
Physical file, TYPE(*DATA), keyed access path1 Description, data, access path
Physical file, TYPE(*DATA), access path not keyed Description, data
Physical file, TYPE(*SRC), keyed access path Description, data
Logical file2 Description

1

The following types of access paths are included as keyed access paths: keyed access paths, primary key constraints, unique constraints, referential constraints.

2

You can save the access path for a logical file by saving the associated physical files using the SAVLIB, SAVOBJ, or SAVCHGOBJ command and specify the ACCPTH parameter..

The description for a file may include the following:

Special considerations apply when you restore a file that has trigger programs or constraints defined. You can find additional information about how the system restores files with triggers and files with referential constraints in the Backup and Recovery book.

 

Parent topic:

Saving user data in your system

Related concepts
Saving journaled objects

Related information
SAVOBJ command