Accessing Data Sources in Read-Only Mode

How to:

You can protect data sources from changes by issuing USE commands with the READ parameter. Protected data sources can be read by various FOCUS tools and commands such as MODIFY and SCAN, but cannot be changed.


Top of page

x
Syntax: How to Access a Data Source in Read-Only Mode
USE 
fileid READ
END

where:

fileid

Is any valid file specification for the operating system.



Example: Accessing a Data Source in Read-Only Mode

For example, to protect the data source EMPLOYEE, enter:

USE
EMPLOYEE READ
END

Information Builders