Introduction

In this section:

SCAN permits you to:

In a typical SCAN session you identify a database and locate specific logical records of interest. Your knowledge of the database's structure and contents allows you to navigate from field to field. Within the database you can add or delete instances of data at the segment level or change data values at the field level.

Note: On databases protected with DBA passwords, SCAN is only available to those who have the proper password.

As you work in a SCAN session, your changes are accumulated in a revised version of your original database. When you decide to terminate your session, you can either save the changed version of the database and overwrite the original version with it, or keep the original version as it was when you started (if you have inadvertently changed the database).

We recommend that you copy your databases before using SCAN as an additional safety precaution; SCAN is a powerful tool for manipulating data, but keeps no log of the change transactions. Using the FOCUS Absolute File Integrity feature (SET SHADOW=ON) protects you against loss of data due to system crashes. (The SET SHADOW command is only effective if it has been issued prior to database creation. Consult the Describing Data manual for information about the Absolute File Integrity feature. See the Developing Applications manual for more information about SET parameters.)

Note: Absolute File Integrity and shadow paging are not supported for XFOCUS data sources.

SCAN vs. MODIFY, MAINTAIN, HLI, and FSCAN

FOCUS includes five facilities for maintaining the data in FOCUS databases. You should be aware of their differences:


Information Builders