Combining PUT_ATT and GET_VAR for attribute UNIX_SHELL fails

Document ID : KB000084809
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
N/A

Combining PUT_ATT and GET_VAR for attribute UNIX_SHELL does not work.

Attribute UNIX_SHELL of a UNIX-JOBS is set in the Pre-Process, using GET_VAR:

0EM0N000001hlQM.png

In this case the UNIX_SHELL is set incorrectly. The process contains only the command

echo $SHELL

to see which one was used. The report shows:

0EM0N000001hlQR.png

If the value -ksh is supplied directly, without GET_ATT, it works:

0EM0N000001hlQW.png

0EM0N000001hlQb.png

Environment:
OS Version: N/A
Cause:
Cause type:
Defect
Root Cause: PUT_ATT UNIX_SHELL in combination with an inline GET_VAR isn't working. The wrong value is being used for PUT_ATT. The workaround is to save the value from GET_VAR in a variable and use the variable for PUT_ATT.
Resolution:
Update to a fix version listed below or a newer version if available.

Fix Status: In Progress

Fix Version(s):
Automation Engine 12.2.0 - Planned release date: 2018-06-19
Automation Engine 12.1.1 - Available
Automation Engine 12.0.4 - Available
Automation Engine 11.2.7 - Available
Additional Information:
Workaround :
Directly supply the value for the UNIX_SHELL.