Siebel Analytics Server Administration Guide > Using Variables in a Repository >

Creating New Variables


Use the following procedure to create a new variable.

To create a variable

  1. Select Action > New from the Variable Manager menu and then select the type of variable you want to create from the submenu.
  2. The Variable dialog box appears. The title bar reflects the type of variable you selected:

  3. Enter a Variable name.
  4. Names for all variables should be unique. The names of system session variables are reserved and cannot be used for other types of variables.

  5. (Optional) Construct the value for the variable using the Expression Builder:
    1. Click the Expression Builder button to the right of the Default initializer window to open the Expression Builder for Variables.
    2. See SQL Logical Operators for information on creating the value.
    3. The expression displays in the Default initializer window.

  6. Alternatively, you can enter the value into the Default initializer text box.
  7. 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 ( ` ).

    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, or click the New button to open the General tab of the Initialization Block dialog box, where you can create a new initialization block.

    If you are constructing a new initialization block, see Creating and Editing Initialization Blocks for more information. When you are finished, click OK to return to the Variable dialog box.


 Siebel Analytics Server Administration Guide 
 Published: 23 June 2003