Chapter Contents

Previous

Next
CMPOPT

CMPOPT



Controls whether SAS language compiler optimization is in effect

Valid in: configuration file, SAS invocation, OPTIONS statement, System Options window
Category: System administration: Performance
PROC OPTIONS GROUP= PERFORMANCE


Syntax
Syntax Description
Details

Syntax

CMPOPT | NOCMPOPT

Syntax Description

CMPOPT
optimizes your SAS code for efficient execution. This is the default.
Tip: Set CMPOPT when you do not need extensive error messages for debugging purposes.

NOCMPOPT
does not optimize your SAS code to allow for more specific error messages during program execution.
Tip: Set NOCMPOPT when debugging is more important than maximum system efficiency.


Details

This option can assist you in debugging errors in your SAS program statements, specifically, those that you use with certain SAS procedures that perform nonlinear statistical modeling or optimization. These procedures employ a SAS language compiler susbsystem that compiles and executes your SAS programs.

The compiler subsystem generates machine language code for the computer on which SAS is running. When the CMPOPT option is in effect, the machine code is optimized for efficient execution. However, when an error occurs during execution of the optimized code, SAS might not be able to identify exactly which operation caused the error condition.

When NOCMPOPT is in effect, the SAS compiler subsystem generates machine code that processes operations more slowly, so that SAS can print diagnostic messages that more accurately indicate which operation in the SAS statement produced the error.


Chapter Contents

Previous

Next

Top of Page

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