You can enter SAS code
that you want to run before any SAS Enterprise Miner processing. This
code can include any SAS system options, titles, and footnotes, libref
and filename statements, or SAS Enterprise Miner macro variables.
Use this code to customize your SAS Enterprise Miner session. You
should not enter code that runs SAS procedures or other potentially
time-consuming operations. In particular, you should avoid the creation
of unneeded SAS libraries, which can slow the creation of SAS Enterprise
Miner sessions and thus reduce system responsiveness.
There are three types
of start code.
-
Workspace Server Autoexec Code
— The default search path used by the SAS system for autoexec.sas
is not used by the workspace server. Instead, any SAS statements that
you want executed immediately after the Workspace server initializes
can be added to autoexec_usermods.sas. This file can be found in your
configuration directory, for example
C:\SAS\EMTM\Lev1\SASApp\WorkspaceServer\autoexec_usermods.sas
.
Other options for workspace server configuration are available in
the
SAS 9.3 Intelligence Platform Application Server Administration
Guide.
-
Server Start Code — Your
server administrator manages this code that is executed for all
SAS Enterprise Miner users for any server. This code is stored in
a SAS code file accessible on the SAS server. The filename and location
is entered as Initialization Code on the Options tab of the Logical
Workspace Server Properties in the SAS Enterprise Miner plug-in for
the SAS Management Console.
-
Project Start Code — Users
can enter code that is executed for any process within the current
project. This code is stored in the SAS Enterprise Miner project
and is edited through the dialog box for the project.
The order of execution
of SAS Enterprise Miner session start code is:
-
Workspace Server Autoexec Code
-
Server Start Code
-
Project Start Code
For details about the
available SAS Enterprise Miner macro variables, see the SAS Enterprise
Miner 12.1 Reference Help in the SAS Enterprise Miner Client.