Create an Initialization Block

Create an initialization block specifically for the type of variable that you want to create.

For a global or session variable, its initialization block contains the variable definition and the initialization query that supplies the variable with its value. For a static variable, its initialization block contains the variable definition, including the variable's default value. A static variable's initialization block doesn't contain an initialization query.
For information about how to define an initialization block for a specific type of variable, see Create a Global Variable, Create a Session Variable, or Create a Static Variable.
  1. On your home page, click Navigator Navigator icon and then click Semantic Models.
  2. In the Semantic Models page, click a semantic model to open it.
  3. Click Variables Variables icon.
  4. Click Create Create icon and then click Create Initialization Block.
  5. In Create Initialization Block, go to Name and enter an initialization block name.
  6. Go to the Type field and select the type of variable that you want to create. Click OK.