CMPTRANS Subcommand (SET command)
Note: This command works only if you are connected to the IBM® SPSS® Statistics Server running on Windows Server.
CMPTRANS
interacts with a
setting on the IBM SPSS Statistics Server to
determine whether transformation commands (such as COMPUTE
and RECODE
) are compiled to machine code when a syntax job is run.
- If the administrator of the IBM SPSS Statistics Server turns on compiled transformations
with the IBM SPSS Statistics Server setting and
CMPTRANS
is set toYES
, transformation commands are compiled to machine code when the syntax job is run. The compiled code is used for the subsequent execution of the transformations. - If the administrator does not turn on compiled transformations, a warning message is displayed and the command is ignored.
- Compiling transformations may improve performance when there are a large number of cases and multiple transformation commands.
- Because there is an overhead involved in compiling
the transformations, you should set
CMPTRANS
toYES
only when there are a large number of cases and multiple transformation commands. -
CMPTRANS
has no effect on transformation commands enclosed inINPUT PROGRAM
andEND INPUT PROGRAM
commands.
YES. Compile transformations to machine code.
NO. Do not compile transformations to machine code.