AnsweredAssumed Answered

Variable within a static VARA variable?

Question asked by Matthew_Evans_6648 on Sep 4, 2015
Latest reply on Sep 8, 2015 by joel_wiesmann_automic
Hi,

I'm very new to Automic AE so apologies if there is an obvious  solution to this......

I have a static variable object that has entries which point to specific directories, for example:

Key                        Value 1
-----------------------------------------
MMIN                     /uacdan/oracle/data/in
MMOUT                 /uacdan/oracle/data/out
MMHOME              /uacdan/oracle/rms/batch

However, the first directory - "uacdan" - needs to be changed depending upon the environment in which Automic is running. What I would like to do is to be able to change one variable that specifies the environment and then have it reflected in the static variables, e.g.

Key                        Value 1
------------------------------------------
ENV                       uacdan
MMIN                     /<ENV variable value>/oracle/data/in
MMOUT                 /<ENV variable value>oracle/data/out
MMHOME              /<ENV variable value>/oracle/rms/batch

These variables are referenced in hundreds of objects so I don't want to have to change each of them.

Is there any way to achieve this?

Outcomes