Error during the starting of DUAS (unistart.bat) -- unigetcar not recognized

Document ID : KB000087201
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
unigetcar not recognized

When the file unienv.bat is launched, the above error message is displayed.
Environment:
OS: Windows
OS Version: Windows Server 2003;Windows Server 2008;Windows Server 2012
Cause:
Cause type:
Defect
Root Cause: For the 6.8.01 the part of the maintenance mode has been modify. At line 39, the %UNI_DIR_EXEC% isn’t present before the command unigetvar.
When checking for maintenance mode, unigetvar was called without full path and before changing directory to %UNI_DIR_EXEC%
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Dollar Universe DUAS 6.8.21 - Available
Additional Information:
Workaround :
  1. Backup your unienv.bat file.
  2. Edit the unienv.bat file and replace:
: for /f "tokens=*" %%a in ('unigetvar UNI_STARTUP_MAINT_MODE') do set DU_MAINT_MODE_NS=%%a

with
 
: for /f "tokens=*" %%a in ('"%UNI_DIR_EXEC%\unigetvar" UNI_STARTUP_MAINT_MODE') do set DU_MAINT_MODE_NS=%%a