Adding, Removing, and Configuring Datasets Changing the Target DataStore

11-24 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator corresponds to the technology of your staging area to determine the LKM you can use. 5. Optionally, modify the KM options. 6. Select the Staging Area. In the Property Inspector, select an LKM from the LKM Selector list to load from the staging area to the target. See the chapter in the Oracle Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator that corresponds to the technology of your staging area to determine the LKM you can use. 7. Optionally, modify the options. 8. Select the Target by clicking its title. The Property Inspector opens for this object. In the Property Inspector, select a standard mono-connection IKM from the IKM Selector list to update the target. See the chapter in the Oracle Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator that corresponds to the technology of your staging area to determine the IKM you can use. 9. Optionally, modify the KM options. 12 Working with Procedures, Variables, Sequences, and User Functions 12-1 12 Working with Procedures, Variables, Sequences, and User Functions This chapter describes how to work with procedures, variables, sequences, and user functions. An overview of these components and how to work with them is provided. This chapter includes the following sections: ■ Section 12.1, Working with Procedures ■ Section 12.2, Working with Variables ■ Section 12.3, Working with Sequences ■ Section 12.4, Working with User Functions

12.1 Working with Procedures

This section provides an introduction to procedures and describes how to create and use procedures in Oracle Data Integrator.

12.1.1 Introduction to Procedures

A Procedure is a set of commands that can be executed by an agent. These commands concern all technologies accessible by Oracle Data Integrator OS, JDBC, JMS commands, etc. A Procedure is a reusable component that allows you to group actions that do not fit in the Interface framework. Procedures should be considered only when what you need to do can’t be achieved in an interface. In this case, rather than writing an external program or script, you would include the code in Oracle Data Integrator and execute it from your packages. Procedures require you to develop all your code manually, as opposed to interfaces. A procedure is composed of command lines, possibly mixing different languages. Every command line may contain two commands that can be executed on a source and on a target. The command lines are executed sequentially. Some command lines may be skipped if they are controlled by an option. These options parameterize whether or not a command line should be executed as well as the code of the commands. The code within a procedure can be made generic by using string options and the ODI Substitution API. Before creating a procedure, note the following: ■ Although you can perform data transformations in procedures, using them for this purpose is not recommended; use interfaces instead.