The Risk Workgroups "create_work_group.cmd" script fails on Windows with a SCRIPT_DIR undefined error in SAS® 9.4M8 (TS1M8)


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.

Symptoms

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:

Resolution

This issue is resolved in SAS® High-Performance Risk 4.4 Hot Fix 1.