In SAS 9.4M8, the Risk Workgroups creation script (create_work_group.cmd) fails when executed on Windows.
The failure occurs because the script attempts to use the variable SCRIPT_DIR, which is not defined. As a result, an error occurs during execution when calling runjava.cmd.
During execution of the workgroup creation script, the following occurs:
Here is an example (from script):
set JRE_OPTIONS=-Dlog4j.configurationFile="%SCRIPT_DIR%\config\log4j.xml" %JRE_OPTIONS%
As a result, the following occurs:
This issue is resolved in SAS® High-Performance Risk 4.4 Hot Fix 1.
Note: The files changed for this issue are modified during configuration. Therefore, the hot fix resolves the issue for new Windows deployments or deployments that are configured after the hot fix is applied. For an existing Windows deployment where the workgroup command script files were already configured, applying the hot fix might not update the existing command files.
If the issue occurs on an existing Windows deployment, manually update the affected Windows command script file to define the SCRIPT_DIR variable.
Add the following line to runjava.cmd:
set SCRIPT_DIR=%~dp0
After the script updates, rerun the Risk Workgroups creation script.