The CNTLLEV= option
specifies the level at which shared update access to a SAS data set
is denied. A SAS data set can be opened concurrently by more than
one SAS session or by more than one statement, window, or procedure
within a single session. By default, SAS procedures permit the greatest
degree of concurrent access possible while they guarantee the integrity
of the data and the data analysis. Therefore, you do not typically
use the CNTLLEV= data set option.
Use this option when
-
your application controls the access
to the data, such as in SAS Component Language (SCL),
SAS/IML software,
or DATA step programming
-
you access data through an interface
engine that does not provide member-level control of the data.
If you use CNTLLEV=REC
and the SAS procedure needs member-level control for integrity of
the data analysis, SAS prints a warning to the SAS log. The warning
states that inaccurate or unpredictable results can occur if the data
are updated by another process during the analysis.