File-Specific Maintenance

Standard maintenance functions applying to files as well as to most other types of Predict Objects are described in the section Maintenance in the Predict Reference documentation.

The following file-specific maintenance functions and aspects of standard maintenance functions specific to files are described below:


Purge File

The following files cannot be purged with the Delete command.

  • all SAG-owned file objects

  • Files of type I (IMS segment). Files of type I can be purged by scratching the IMS database (type I) containing the file.

The following objects are purged if you confirm this function:

  • the file and all its userviews

  • all fields of the file and its userviews

  • generated code of the file and userview

  • all links to databases

  • all links from the file to children/from parents

  • all links from/to objects that are also purged with this function.

In addition,

  • all file relations using this file are set to D (documented).

When an Adabas file is purged, all Adabas attributes and Vista elements of the file are also deleted.

Note:
A file cannot be deleted if a DDM for the file exists or the file is implemented.