Configuration Environment Variables


Environment variables to set for an application is defined in the following order:

Environment variables are now broken up into three tables based on platform dependency. Each environment variable has the following fields:

Adding a Variable

To add a variable:

  1. Scroll to the table of the type of variable you want to add
  2. Press the '+' button located beneath the table.
  3. Scroll the table to the bottom to access the newly added item
  4. Double-click the empty cell in the Variable Name to edit the value
  5. Repeat in the empty cell in the Variable Value column.

Editing a Variable

To edit a variable:

  1. Scroll to the table where the variable is defined
  2. Select the variable to edit in the table.
  3. Double-click the cell in the Variable Name to edit the value
  4. Repeat in the cell in the Variable Value column.

Deleting a Variable

To delete a variable:

  1. Scroll to the table where the variable is defined
  2. Select the variable to edit in the table.
  3. Press the '-' button to delete the variable

Important DSL System Variables

DSL has a few environment variables that will be of use when configuring the department. You can use them to help in defining your variables or the department's applications.

Variable Name Variable Description
DSL_BASE_DIR Where the DSL is installed
DSL_UGSITE_DIR Where the ugsite directory is
DSL_DEPT_DIR Location of the configuration directory in use
UG_VER Name of the NX version directory in the configuration
OS Name of the operating system directory( hp or win/win64 )
SCRIPTx Extension of the platform's scripts(ksh or bat)
OSx Extension of the platform's shared libraries(sl or dll)