Siebel Analytics Server Administration Guide > Using Variables in the Analytics Server Repository > Using the Analytics Variable Manager >

Creating New Variables


Use the following procedure to create a new variable.

To create a variable

  1. From the Administration Tool menu bar, choose Manage > Variables.
  2. In the Variable Manager dialog box, from the menu bar, chose Action > New, and then chose Repository Variable or Session Variable.
  3. In the Variable dialog box, type a Variable name.

    Names for all variables should be unique. The names of system session variables are reserved and cannot be used for other types of variables.

  4. From the Type drop-down list, select the type of variable.
    • For repository variables, choose Static Repository Variable or Dynamic Repository Variable.
    • For session variables, choose Session Variable.
  5. To add a Default initializer value, perform one of the following steps:
    • To use the Expression Builder, click the ellipsis button to the right of the Default initializer work space. See SQL Logical Operators for information on creating the value.
    • Type the value into the Default initializer text box.

      For static repository variables, the value you specify in the Default initializer window persists, and will not change unless you decide to change it. If you initialize a variable to a character string, enclose the string in single quotes ( ' ).

  6. For a dynamic repository variable or a session variable, use the Initialization Block drop-down list to select an initialization block that will be used to refresh the value on a continuing basis.

    For information about constructing a new initialization block, see Creating and Editing Initialization Blocks.

  7. Click OK.

 Siebel Analytics Server Administration Guide
 Published: 11 March 2004