IMSTAT Procedure

COMPUTE Statement

The COMPUTE statement adds a permanent computed column to an in-memory table.

Syntax

COMPUTE column-name file-reference </ option>;
COMPUTE column-name "SAS-statements" </ option>;

Required Argument

column-name

specifies the name to use for the computed column. The name cannot already be in use in the table.

COMPUTE Statement Options

NOPREPARSE

specifies to prevent the procedure from pre-parsing and pre-generating code for temporary expressions, scoring programs, and other user-written SAS statements.

When this option is specified, the user-written statements are sent to the server "as-is" and then the server attempts to generate code from it. If the server detects problems with the code, the error messages might not to be as detailed as the messages that are generated by SAS client. If you are debugging your user-written program, then you might want to pre-parse and pre-generate code in the procedure. However, if your SAS statements compile and run as you want them to, then you can specify this option to avoid the work of parsing and generating code on the SAS client.
When you specify this option in the PROC IMSTAT statement, the option applies to all statements that can generate code. You can also exclude specific statements from pre-parsing by using the NOPREPARSE option in statements that allow temporary columns or the SCORE statement.
Alias NOPREP