Specifies the level of optimization to perform during code compilation.
Valid in: |
configuration file, SAS invocation, OPTIONS
statement, SAS System Options window
|
Alias: |
CGOPT
|
Category: |
System administration: Performance
|
|
System
administration: Code generation
|
PROC OPTIONS GROUP= |
PERFORMANCE
|
|
CODEGEN
|
- 0
-
specifies not to perform optimization.
- 1
-
specifies to perform stage 1 optimization. Stage 1 optimization
removes redundant instructions, missing value checks, and repetitive computations
for array subscriptions; detects patterns of instructions and replaces them
with more efficient sequences.
- 2
-
specifies to perform stage 2 optimization. Stage 2 performs
optimizations that pertain to the SAS register.
Interaction: |
Stage 2 optimization for a large
DATA step program can result in a significant increase in compilation time
and thus overall execution time. |
- 3
-
specifies to perform full optimization, which is a combination
of stages 1 and 2. This is the default value.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.