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
CMPTRANSis 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
CMPTRANStoYESonly when there are a large number of cases and multiple transformation commands. -
CMPTRANShas no effect on transformation commands enclosed inINPUT PROGRAMandEND INPUT PROGRAMcommands.
YES. Compile transformations to machine code.
NO. Do not compile transformations to machine code.