SAS
® Enterprise Miner
™ 5 and later produce Java translations of some of the generated DATA step scoring code.
To produce valid Java code a system environment variable must be defined for the SAS Enterprise Miner Workspace server.
The "DTJ_CLASSPATH" environment variable must contain absolute paths for a SAS Enterprise Miner distributed file, "dtj.jar", and the Java runtime library. On most systems the java runtime library is named "rt.jar" but, on AIX systems, use "core.jar". These files are distributed as part of the SAS® Foundation Services and SAS Enterprise Miner.
To produce valid Java scoring code, modify the SAS configuration file for the SAS Enteprise Miner workspace server to create and set the required environment variable.
On Windows Systems
First locate and make a backup copy of the SAS workspace server's primary configuration file. In a default install it would be:
C:\Program Files\SAS\SAS 9.1\nls\en\SASV9.CFG
The paths used in this example are for a default install. Your paths may vary depending on how SAS was installed.
1. Edit the primary configuration file for the workspace server.
2. At the top of the configuration file add a line and enter
-SET DTJ_CLASSPATH
3. Enter a space and a double quote after "-SET DTJ_CLASSPATH" then add
!SASROOT\dmine\sasmisc\dtj.jar;!SASROOT\..\Shared Files\JRE\1.4.1\lib\rt.jar
followed by a closing double quote. In a default installation on windows the new SET statement line may look something like:
-SET DTJ_CLASSPATH "!SASROOT\dmine\sasmisc\dtj.jar;!SASROOT\..\Shared
Files\JRE\1.4.1\lib\rt.jar"
4. Save and close the configuration file
On Unix systems
A configuration file named sasv9_local.cfg has been created in the !SASROOT directory to store user specified settings. Settings in this file will remain in place during upgrades to this SAS Installation and will override the default options values when the same options are contained in both places. Locate and make a backup copy of the this file for the SAS Workspace server. The paths used in this example are for a default install. You paths may vary depending on how SAS was
installed.
1. Edit the sasv9_local.cfg file for the workspace server.
2. At the top of the configuration file, after the header comment, add a line and enter
-SET DTJ_CLASSPATH
3. Enter a space after "-SET DTJ_CLASSPATH" then add
!SASROOT/misc/dmine/dtj.jar:!SASROOT/sasjre/1.4.1/lib/rt.jar:
On AIX systems
!SASROOT/misc/dmine/dtj.jar:!SASROOT/sasjre/1.4.1/lib/core.jar:
Your path for the rt.jar file may vary. Make sure to include the colon on the end.
4. Save and close the configuration file
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 9.1 TS1M0 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP3 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP3 | |
| HP-UX IPF | 9.1 TS1M3 SP3 | |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | |
| Linux on Itanium | 9.1 TS1M3 SP3 | |
| Linux | 9.1 TS1M3 SP3 | |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP3 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
| 64-bit Enabled AIX | 9.1 TS1M3 SP3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.