Chapter Contents |
Previous |
Next |
The BUILD Procedure |
Note: | The compile operation is performed before the procedure opens any windows. |
Tip: | By default, all PROGRAM entries in the current catalog are compiled. You can use the SELECT= option to select individual entries to compile, or use the EXCLUDE= option to prevent certain entries from being compiled. |
COMPILE
<DEBUG>
|
Options |
You can use the following options in the COMPILE statement:
Each COMPILE statement can include only one EXCLUDE= option or one SELECT= option. However, you can use multiple COMPILE statements in the same PROC BUILD statement.
Using the COMPILE Statement |
The SAS Component Language code in FRAME, PROGRAM, and SCL entries must be compiled before the source programs can run. If you do not use the COMPILE command while you are working in the catalog entries, you can use the COMPILE statement to compile the code in existing entries.
If error or warning messages are generated by the compile process, they are written to the SAS log.
COMPILE Statement Example |
The following example illustrates a COMPILE statement that compiles three SCL source programs and collects the extra information needed to run the SCL debugger. In this example, the PROGRAM entries named ONE, TWO, and THREE in the catalog EX.APPLIC are compiled in batch mode. No interactive BUILD session is initiated.
proc build catalog=ex.applic batch; compile debug select=(one two three); run;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.