CMPLIB= System Option

Specifies one or more SAS data sets that contain compiler subroutines to include during program compilation.
Valid in: Configuration file, SAS invocation, OPTIONS statement, System Options window
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.
Tip: You can use the APPEND or INSERT system options to add additional SAS data sets.

Syntax

Syntax Description

libref.data-set
specifies the libref and the data set of the compiler subroutines that are to be included during program compilation. The libref and data-set must be valid SAS names.
libref.data-set-nlibref.data-set-m
specifies a range of compiler subroutines that are to be included during program compilation. The name of the libref and the data set must be valid SAS names that contain a numeric suffix.

Details

SAS procedures, DATA steps, and macro programs that perform non-linear statistical modeling or optimization use a SAS language compiler subsystem that compiles and executes your SAS programs. The compiler subsystem generates machine language code for the computer on which SAS is running. The SAS procedures that use the SAS language compiler are CALIS, COMPILE, GA, GENMOD, MODEL, NLIN, NLMIXED, NLP, PHREG, Risk Dimensions procedures, and SQL.
The subroutines that you want to include must already have been compiled. All the subroutines in libref.data-set are included.
You can specify a single libref.data-set, a list of libref.data-set names, or a range of libref.data-set names with numeric suffixes. When you specify more than one libref.data-set name, separate the names with a space and enclose the names in parentheses.

Example

Number of Libraries
OPTIONS Statement
One library
options cmplib=sasuser.cmpl;
Two or more libraries
options cmplib=(sasuser.cmpl sasuser.cmplA sasuser.cmpl3);
A range of libraries
options cmplib=(sasuser.cmpl1 - sasuser.cmpl6);

See Also