Uproc calling "uniinstaller -upgrade" in order to automate the DUAS nodes patching fails

Document ID : KB000087507
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
These kind of errors could appear in the setup log: 

###################### 
Unable to read instance configuration variable UNI_INST_CLUSTER 
###################### 

or 
###################### 
Bad environment: U_TMP_PATH undefined 
###################### 

Patch level detected:Dollar Universe 6.3.00
Product Version: Dollar.Universe 6.3.01

Description :When necessary to schedule the Autopatch on a lot of Windows nodes, a Uproc was  developped  to perfor, unfortunately the uproc was failing, with this error on the setup log:

Unable to read instance configuration variable UNI_INST_CLUSTER
or
Bad environment: U_TMP_PATH undefined
Environment:
OS: Windows
Cause:
Cause type:
Configuration
Root Cause: The issue was due to the fact that the u_batch does not reload the environment by default.
Resolution:
The solution is adding a variable in the Uproc script so that the u_batch reloaded the environment.

Simply add this line at the beginning of the Uproc script:

set IS_BATCH_ENV_LOADED=N

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.3.41
Additional Information:
Workaround :
N/A