Right-click the KM or procedure that you wish to decrypt.

12-14 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator Then in your package, you will simply drag and drop your variable and select the “Refresh Variable” option in the Properties panel. At runtime, the ODI agent will execute the SQL statement and assign the first returned value of the result set to the variable. – Explicitly setting the value in a package : You can also manually assign a value to your variable for the scope of your package. Simply drag and drop your variable into your package and select the “Set Variable” and “Assign” options in the Properties panel as well as the value you want to set. – Incrementing the value : Incrementing only applies to variables defined with a numeric data type. Drag and drop your numeric variable into the package and select the “Set Variable” and “Assign” options in the Properties panel as well as the desired increment. Note that the increment value can be positive or negative. – Assigning the value at runtime : When you start a scenario generated from a package containing variables, you can set the values of its variables. You can do that in the StartScenario command by specifying the VARIABLE=VALUE list. Refer to the OdiStartLoadPlan API command and the section Section 20.3.2, Executing a Scenario from a Command Line . How to create a Assign Variable step is covered in Setting a Variable . ■ Incrementing a numeric value : A Set Variable step of type Increment increases or decreases a numeric value by the specified amount. How to create a Set Variable step is covered in Setting a Variable . ■ Evaluating the value for conditional branching : An Evaluate Variable step acts like an IF-ELSE step. It tests the current value of a variable and branches in a package depending on the result of the comparison. For example, you can choose to execute interfaces A and B of your package only if variable EXEC_A_AND_B is set to “YES”, otherwise you would execute interfaces B and C. To do this, you would simply drag and drop the variable in your package diagram, and select the “Evaluate Variable” type in the properties panel. Evaluating variables in a package allows great flexibility in designing reusable, complex workflows. How to create an Evaluate Variable step is covered in Evaluating a Variable .

12.2.3.2 Using Variables in Interfaces

Variables can be used in interfaces in two different ways: 1. As a value for a textual option of a Knowledge Module. 2. In all Oracle Data Integrator expressions such as mappings, filters, joins, and constraints. To substitute the value of the variable into the text of an expression, precede its name by the character. The agent or the graphical interface will substitute the value of the variable in the command before executing it. The following example shows the use of a global variable named YEAR: Update CLIENT set LASTDATE = sysdate where DATE_YEAR = GLOBAL.YEAR DATE_YEAR is CHAR type Update CLIENT set LASTDATE = sysdate where DATE_YEAR = GLOBAL.YEAR DATE_YEAR is NUMERIC type The bind variable mechanism of the SQL language can also be used, however, this is less efficient, because the relational database engine does not know the value of the variable when it constructs the execution plan for the query. To use this mechanism,