Chapter Contents |
Previous |
Next |
SAS/ACCESS Software for PC File Formats: Reference |
General Guidelines |
Extracting Data Using a View |
A PC file is read every time a view descriptor is referred to in a SAS program and the program is executed; the program's output reflects the latest updated level of the PC file. If many users are reading the same PC file repeatedly, PC file performance may decrease. If you create several reports during the same SAS session, they may not be based on the same PC file data due to updating by other users. Therefore, in the following circumstances, it is better to extract data:
If a view descriptor describes a large PC file and you plan to use the same PC file data in several procedures or DATA steps during the same SAS session, you might improve performance by extracting the data. Placing the data into a SAS data file requires a certain amount of disk space to store the data and I/O to write the data. However, SAS data files are organized to provide optimal performance with PROC and DATA steps. Programs that use SAS data files are often more efficient than programs that read PC file data directly.
If you are the owner of a PC file and do not want anyone else to read the data, you might want to extract the data (or a subset of the data) and not distribute information about either the access descriptor or view descriptor. Or, you might want to assign PC file security features to your PC files to prevent unauthorized reading or writing to them.
On the SAS System side, you might also want to assign SAS System passwords to your descriptors for additional security. If a view descriptor has a password assigned to it and you extract the data, the new SAS data file is automatically assigned the same password. If a view descriptor does not have a password, you can assign a password to the extracted SAS data file.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.