Chapter Contents

Previous

Next
SAS/ACCESS Interface to CA-DATACOM/DB: Reference

Locks and the Spool File

CA-DATACOM/DB supports record-level locking. It does not support a table lock or any type of member-level locking as in the SAS System. If a procedure requests member-level locking, the interface view engine creates an intermediate file of the SAS records, sometimes called a spool file. This spool file guarantees static data required by the SAS procedure, but at a potentially high processing cost.

A spool file is created if all the following conditions are true:

Note:   The spool file creates a temporary file of static data. It does not prevent other users from changing the data in the table.  [cautionend]

The processing costs may be so high that some tables cannot be processed. Therefore, a DDBLOCK= data set option is available that instructs the interface view engine not to build the intermediate file. If DDBLOCK equals 1, a warning message appears, but the procedure continues to execute. The user executes the procedure at his own risk. Presumably, that user is the only one using the table or the table is under exclusive use by some method separate from the SAS System.

Alternatively, if you are concerned about keeping the data static while the SAS procedure executes, you could extract the CA-DATACOM/DB data into a SAS data file, then run the procedure against that data file.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.