Nested Variables

Variables can be nested to any level. For example, you can do the following to automate destinations:

  1. Define %Dest% as the destination volume and directory for a software package:
    • Variable Name: %Dest%

    • Value: %Vol%%Dir%

  2. Define the %Vol% variable:
    • Variable Name: %Vol%

    • Value: %server_DN;attribute_name%

  3. Define the %Dir% variable:
    • Variable Name: %Dir%

    • Value:  \APPS (a directory on the volume)

  4. On each server that will be processing software packages, locate the attribute_name defined in the value of %Vol% and enter the name as the volume where you want the software package extracted (such as DATA:).

The result is that when you create a software package, you can define the destination as simply %Dest%, which will resolve to the directory and volume specified at each target server. For example:

Server_001.Admin.Novell\DATA:\APPS